fix locale

This commit is contained in:
Venelin committed 2024-06-08 19:04:51 +03:00
1 parent 501db705d3
commit 1386b967d3
2 files changed
+2 -1

No files matched your search

+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 */