aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorRaven <citrons@mondecitronne.com>2026-11-16 14:41:13 -0600
committerRaven <citrons@mondecitronne.com>2026-11-16 14:41:13 -0600
commitf6bf83b030d1df35042909c3805721e270d08a1b (patch)
tree26059d9ac5cee2b74c5088dc1184bfe67821595b /src/main.c
parent05e2d2c41c5e4721a451d05e58aa89c67b268753 (diff)
fix behavior of space key to pause
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index e65459b..04b76df 100644
--- a/src/main.c
+++ b/src/main.c
@@ -219,7 +219,7 @@ static void handle_key(SDL_Keycode key) {
switch (key) {
case SDLK_SPACE:
if (pid == -1) break;
- kill(pid, stopped ? SIGSTOP : SIGCONT);
+ kill(pid, stopped ? SIGCONT : SIGSTOP);
stopped = !stopped;
break;
case SDLK_E: