summaryrefslogtreecommitdiffstats
path: root/src/app/app.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/app.cpp')
-rw-r--r--src/app/app.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/app.cpp b/src/app/app.cpp
index 3801f95..6231eb6 100644
--- a/src/app/app.cpp
+++ b/src/app/app.cpp
@@ -449,6 +449,7 @@ bool CApplication::Create()
// Enable translating key codes of key press events to unicode chars
SDL_EnableUNICODE(1);
+ SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
// Don't generate joystick events
SDL_JoystickEventState(SDL_IGNORE);