summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/interface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/interface.c b/src/client/interface.c
index 33c4001..a53a73a 100644
--- a/src/client/interface.c
+++ b/src/client/interface.c
@@ -141,7 +141,8 @@ int initSDL()
SDL_Quit();
return -1;
}
-
+ // enable unicode by default for keyboard support
+ SDL_EnableUNICODE(1);
SDL_WM_SetCaption(WINDOW_TITLE, NULL);
//SDL_ShowCursor(0);
SDL_EnableKeyRepeat(0, 1);