From: David Lawrence Ramsey Date: Mon, 21 Aug 2006 14:04:28 +0000 (+0000) Subject: cosmetic fixes X-Git-Tag: v1.9.99pre1~18 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0bbd2901689c5113e848ebb8b50ff09634ed800d;p=nano.git cosmetic fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3844 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/nano.c b/src/nano.c index 08850822..8e8dd6d6 100644 --- a/src/nano.c +++ b/src/nano.c @@ -526,13 +526,13 @@ void print_view_warning(void) /* What we do when we're all set to exit. */ void finish(void) { + /* Blank the statusbar (and shortcut list, if applicable), and move + * the cursor to the last line of the screen. */ if (!ISSET(NO_HELP)) blank_bottombars(); else blank_statusbar(); - wrefresh(bottomwin); - endwin(); /* Restore the old terminal settings. */ @@ -1012,7 +1012,8 @@ RETSIGTYPE do_suspend(int signal) disable_mouse_support(); #endif - /* Blank the screen, and move the cursor to the last line of it. */ + /* Blank the screen, and move the cursor to the last line of the + * screen. */ erase(); move(LINES - 1, 0); refresh();