From 7212ab1c2a12db7a81b1b13cc28e860cb9cfa138 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Tue, 28 Apr 2026 08:08:15 -0400
Subject: [PATCH] checkkeys: Sleeping for 100ms every frame makes the program
too unresponsive.
Makes it feel like there's a bug in SDL's text input handling. 10ms is fine.
---
test/checkkeys.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/checkkeys.c b/test/checkkeys.c
index f2223b6879e7b..aaaff1462fd29 100644
--- a/test/checkkeys.c
+++ b/test/checkkeys.c
@@ -434,7 +434,7 @@ static void loop(void)
}
/* Slow down framerate */
- SDL_Delay(100);
+ SDL_Delay(10);
#ifdef SDL_PLATFORM_EMSCRIPTEN
if (done) {