fix locale

This commit is contained in:
Venelin
2024-06-08 19:04:51 +03:00
parent 501db705d3
commit 1386b967d3
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ AutoWin::operator WINDOW*()
void init_ncurses()
{
setlocale(LC_ALL, "en_US.UTF-8");
setlocale(LC_ALL, ""); // enable UTF-8 for ncurses
/* Init ncurses */
initscr(); /* start curses mode */