summaryrefslogtreecommitdiffstats
path: root/CRT.c
diff options
context:
space:
mode:
Diffstat (limited to 'CRT.c')
-rw-r--r--CRT.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/CRT.c b/CRT.c
index 983c601f..e341c249 100644
--- a/CRT.c
+++ b/CRT.c
@@ -585,6 +585,9 @@ void CRT_init(int delay, int colorScheme) {
CRT_colorScheme = 1;
CRT_setColors(CRT_colorScheme);
+ /* initialize locale */
+ setlocale(LC_ALL, "");
+
#ifdef HAVE_LIBNCURSESW
char *locale = setlocale(LC_ALL, NULL);
if (locale == NULL || locale[0] == '\0')