diff --git a/src/nano.c b/src/nano.c index 9a7aafa8..fcb2f9db 100644 --- a/src/nano.c +++ b/src/nano.c @@ -2561,7 +2561,7 @@ int main(int argc, char **argv) edit_scroll(FORWARD); wnoutrefresh(edit); } - redrawwin(bottomwin); + wredrawln(bottomwin, 0 ,1); wnoutrefresh(bottomwin); place_the_cursor(); } else if (ISSET(ZERO) && lastmessage > VACUUM) diff --git a/src/winio.c b/src/winio.c index 0f080527..af7b92bc 100644 --- a/src/winio.c +++ b/src/winio.c @@ -1703,8 +1703,7 @@ void check_statusblank(void) wipe_statusbar(); /* When windows overlap, make sure to show the edit window now. */ - if (currmenu == MMAIN && (ISSET(ZERO) || LINES == 1)) - { + if (currmenu == MMAIN && (ISSET(ZERO) || LINES == 1)) { wredrawln(edit, editwinrows - 1, 1); wnoutrefresh(edit); }