commit bfcce57b69415f7ab4aa5fb52329fd2d6c099bed
parent 4eac699df3cdaf1b4cb75d4016e815062ebd2a29
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Sun, 4 Dec 2016 12:27:12 +0100
screen: remove an unneeded blanking of the statusbar
It's redundant because the call of total_refresh() wipes everything.
Diffstat:
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git 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
}