Fix input handling

When app_process_termo_event() returns false, it always means to beep,
not to quit the application.
This commit is contained in:
Přemysl Eric Janouch 2018-10-20 11:26:19 +02:00
parent 9c16ab4136
commit 3c09a16a02
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 1 additions and 1 deletions

View File

@ -3428,7 +3428,7 @@ app_on_key_timer (void *user_data)
termo_key_t event;
if (termo_getkey_force (g.tk, &event) == TERMO_RES_KEY)
if (!app_process_termo_event (&event))
app_quit (); // presumably an ESC, questionable
beep ();
}
static void