diff options
Diffstat (limited to 'src/lua.c')
-rw-r--r-- | src/lua.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua.c b/src/lua.c index b92204f..8d57a94 100644 --- a/src/lua.c +++ b/src/lua.c @@ -5,6 +5,7 @@ */ +#include <locale.h> #include <ncurses.h> #include <signal.h> #include <stdio.h> @@ -402,6 +403,7 @@ int main (int argc, char **argv) { l_message(argv[0], "cannot create state: not enough memory"); return EXIT_FAILURE; } + setlocale(LC_ALL, ""); initscr(); start_color(); draw_menu(L); |