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.
master
Benno Schulenberg 2020-01-14 10:49:12 +01:00
parent 6896d8df47
commit e8d20a8e4b
1 changed files with 2 additions and 1 deletions

View File

@ -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