From 3c09a16a02cb24eb3d3b8d45d5f348f76115925c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Sat, 20 Oct 2018 11:26:19 +0200 Subject: Fix input handling When app_process_termo_event() returns false, it always means to beep, not to quit the application. --- nncmpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nncmpp.c b/nncmpp.c index 6c1aa55..e9c4faf 100644 --- a/nncmpp.c +++ b/nncmpp.c @@ -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 -- cgit v1.2.3