commit 71402bb7e954f7b247b62ea075f5ca6ac8bf12db
parent 9266fa6657d28f802d56306d02de51cc7fbf4593
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Mon, 11 Jan 2021 16:18:35 +0100
feedback: wipe the status bar by default after 20 keystrokes
The 26 keystrokes inherited from Pico is a weird number, and too long.
Diffstat:
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git 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. */