diff options
author | Přemysl Janouch <p@janouch.name> | 2018-10-20 11:26:19 +0200 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2018-10-20 22:13:33 +0200 |
commit | 3c09a16a02cb24eb3d3b8d45d5f348f76115925c (patch) | |
tree | 90a6fb6713c627de4d47b98922b6269bf60cd0b3 | |
parent | 9c16ab41361e8be0ef301212c48905a229a8e451 (diff) | |
download | nncmpp-3c09a16a02cb24eb3d3b8d45d5f348f76115925c.tar.gz nncmpp-3c09a16a02cb24eb3d3b8d45d5f348f76115925c.tar.xz nncmpp-3c09a16a02cb24eb3d3b8d45d5f348f76115925c.zip |
Fix input handling
When app_process_termo_event() returns false, it always means to beep,
not to quit the application.
-rw-r--r-- | nncmpp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |