# SDL-1.2: atari:video: keep the system key repeat enabled

**URL:** <https://discourse.libsdl.org/t/sdl-1-2-atari-keep-the-system-key-repeat-enabled/69380>\
**Category:** SDL Commits\
**Created:** [September 23, 2026, 4:56pm UTC](https://discourse.libsdl.org/t/sdl-1-2-atari-keep-the-system-key-repeat-enabled/69380 "2026-09-23T16:56:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [September 23, 2026, 4:56pm UTC](https://discourse.libsdl.org/t/sdl-1-2-atari-keep-the-system-key-repeat-enabled/69380/1 "2026-09-23T16:56:54Z")

</div>

> **[atari:video: keep the system key repeat enabled · libsdl-org/SDL-1.2@9e01c44](https://github.com/libsdl-org/SDL-1.2/commit/9e01c44b38b4768df4d97bf25cb66fe897827233)**
>
> GEM reports no key releases and the repeated key codes are the only hint
> that a key is still held down. Without them every key was reported as
> released shortly after it had been pressed.
> 
> Introduce...

```diff
From 9e01c44b38b4768df4d97bf25cb66fe897827233 Mon Sep 17 00:00:00 2001
From: Miro Kropacek <[EMAIL REDACTED]>
Date: Mon, 31 Aug 2026 15:16:46 +1000
Subject: [PATCH] atari:video: keep the system key repeat enabled

GEM reports no key releases and the repeated key codes are the only hint
that a key is still held down. Without them every key was reported as
released shortly after it had been pressed.

Introduced in commit 975e4d80.
---
 src/video/ataricommon/SDL_atarievents.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video/ataricommon/SDL_atarievents.c b/src/video/ataricommon/SDL_atarievents.c
index 11c7bf2ee..d3328dc62 100644
--- a/src/video/ataricommon/SDL_atarievents.c
+++ b/src/video/ataricommon/SDL_atarievents.c
@@ -99,7 +99,7 @@ void SDL_Atari_InitializeConsoleSettings(void)
 	if (!conterm_set) {
 		long ssp = Super(SUP_SET);
 		old_conterm = *conterm;
- *conterm &= ~((1<<2) | (1<<1) | (1<< 0));	/* disable bell, key-repeat and key-click */
+ *conterm &= ~((1<<2) | (1<< 0));	/* disable bell and key-click */
 		Super(ssp);
 
 		conterm_set = SDL_TRUE;

```
