From 0bbd2901689c5113e848ebb8b50ff09634ed800d Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 21 Aug 2006 14:04:28 +0000 Subject: [PATCH] cosmetic fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3844 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/nano.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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();