From 71402bb7e954f7b247b62ea075f5ca6ac8bf12db Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 11 Jan 2021 16:18:35 +0100 Subject: [PATCH] feedback: wipe the status bar by default after 20 keystrokes The 26 keystrokes inherited from Pico is a weird number, and too long. --- src/winio.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/winio.c b/src/winio.c index 8d91368e..3a3103e7 100644 --- a/src/winio.c +++ b/src/winio.c @@ -2286,12 +2286,8 @@ void statusline(message_type importance, const char *msg, ...) SET(WHITESPACE_DISPLAY); #endif - /* If doing quick blanking, blank the status bar after just one keystroke. - * Otherwise, blank it after twenty-six keystrokes, as Pico does. */ - if (ISSET(QUICK_BLANK)) - statusblank = 1; - else - statusblank = 26; + /* When requested, wipe the status bar after just one keystroke. */ + statusblank = (ISSET(QUICK_BLANK) ? 1 : 20); } /* Display a normal message on the status bar, quietly. */