From bfcce57b69415f7ab4aa5fb52329fd2d6c099bed Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 4 Dec 2016 12:27:12 +0100 Subject: [PATCH] screen: remove an unneeded blanking of the statusbar It's redundant because the call of total_refresh() wipes everything. --- src/nano.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/nano.c b/src/nano.c index 1d771908..d64cd9b9 100644 --- a/src/nano.c +++ b/src/nano.c @@ -1289,12 +1289,8 @@ RETSIGTYPE do_continue(int signal) * and restore the terminal to its previous state in the process. */ regenerate_screen(); #else - /* Restore the terminal to its previous state. */ + /* Restore the state of the terminal and redraw the whole screen. */ terminal_init(); - - /* Wipe statusbar; redraw titlebar and edit window (and help lines). */ - blank_statusbar(); - wnoutrefresh(bottomwin); total_refresh(); #endif }