commit 5cc4f1cb9ee3b1f9eb4589abbf9489a389b588d5
Author: Raniconduh <clagv.randomgames@gmail.com>
Date: Mon Jan 31 20:04:45 2022 +0000
diff --git a/src/io.c b/src/io.c
index 8bcda21..bf13eef 100644
--- a/src/io.c
+++ b/src/io.c
@@ -46 +47 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#include <locale.h>
#include <fcntl.h>
#include <time.h>
#include <pwd.h>
@@ -286 +298 @@ void curses_init(void) {
dup2(open("/dev/tty", O_WRONLY), STDOUT_FILENO);
}
+ setlocale(LC_CTYPE, "");
+
initscr();
keypad(stdscr, true);
curs_set(0);