From 7336c28ca8d594ae8dcb865fad0cac768338cc53 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 25 Nov 2021 10:56:18 +0100 Subject: [PATCH] display: clear the status bar early enough, so that --zero can show text This fixes https://savannah.gnu.org/bugs/?61554. Bug existed since commit be61aad9 from yesterday. --- src/nano.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nano.c b/src/nano.c index 0b02e25f..e6ea3516 100644 --- a/src/nano.c +++ b/src/nano.c @@ -437,7 +437,7 @@ void window_init(void) } /* In case the terminal shrunk, make sure the status line is clear. */ - wipe_statusbar(); + wnoutrefresh(bottomwin); /* When not disabled, turn escape-sequence translation on. */ if (!ISSET(RAW_SEQUENCES)) {