From ec65d10e07e98ba59987e5c72299af88c8b7629c 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.
(cherry picked from commit 7212ab1c2a12db7a81b1b13cc28e860cb9cfa138)
---
test/checkkeys.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/checkkeys.c b/test/checkkeys.c
index ab7df8eebcd97..212224a2c45c9 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) {