summaryrefslogtreecommitdiff
path: root/textscreen
diff options
context:
space:
mode:
Diffstat (limited to 'textscreen')
-rw-r--r--textscreen/txt_main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/textscreen/txt_main.c b/textscreen/txt_main.c
index 5ecd590b..f580d942 100644
--- a/textscreen/txt_main.c
+++ b/textscreen/txt_main.c
@@ -88,6 +88,11 @@ int TXT_Init(void)
SDL_EventState(SDL_MOUSEMOTION, SDL_IGNORE);
+ // Repeat key presses so we can hold down arrows to scroll down the
+ // menu, for example. This is what setup.exe does.
+
+ SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
+
return 1;
}