From 44f114fc3b8477410e24cf3e5fd5a8155e922a9b Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Fri, 7 Oct 2016 21:41:32 +0200 Subject: Omitted part of the beeping commit --- nncmpp.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nncmpp.c b/nncmpp.c index 2b7eabd..96d447a 100644 --- a/nncmpp.c +++ b/nncmpp.c @@ -1531,11 +1531,10 @@ app_process_termo_event (termo_key_t *event) && event->code.codepoint <= '9') { int n = event->code.codepoint - '0'; - if (!app_goto_tab ((n == 0 ? 10 : n) - 1)) - beep (); - return true; + if (app_goto_tab ((n == 0 ? 10 : n) - 1)) + return true; } - return true; + return false; } // --- Streams ----------------------------------------------------------------- -- cgit v1.2.3-70-g09d2