From 6a521da437abb82728d39209e0e25fa514536627 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 24 Nov 2021 16:17:34 +0100 Subject: [PATCH] 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. --- src/winio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/winio.c b/src/winio.c index ccfa17a2..571767f7 100644 --- a/src/winio.c +++ b/src/winio.c @@ -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). */