display: ensure feedback will be cleared also on a one-row terminal

This fixes https://savannah.gnu.org/bugs/?61548.

Bug existed since commit be61aad9 from earlier today.
master
Benno Schulenberg 2021-11-24 16:17:34 +01:00
parent 6d828cf470
commit 6a521da437
1 changed files with 2 additions and 1 deletions

View File

@ -1676,12 +1676,13 @@ void blank_statusbar(void)
/* Wipe the status bar clean and include this in the next screen update. */
void wipe_statusbar(void)
{
lastmessage = VACUUM;
if (ISSET(ZERO) || ISSET(MINIBAR) || LINES == 1)
return;
blank_row(bottomwin, 0);
wnoutrefresh(bottomwin);
lastmessage = VACUUM;
}
/* Blank out the two help lines (when they are present). */