From e8d20a8e4b1991ae2490cb8b5c6ee34316c24d67 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 14 Jan 2020 10:49:12 +0100 Subject: [PATCH] display: clear the help lines before a briefly shown warning This makes the message stand out more. Also slightly shorten the duration of the pause. --- src/winio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/winio.c b/src/winio.c index 9a96b0c6..3252ac7b 100644 --- a/src/winio.c +++ b/src/winio.c @@ -2247,8 +2247,9 @@ void statusbar(const char *msg) * message can be noticed and read. */ void warn_and_shortly_pause(const char *msg) { + blank_bottombars(); statusline(ALERT, msg); - napms(1800); + napms(1500); } /* Display the shortcut list corresponding to menu on the last two rows