commit 0bbd2901689c5113e848ebb8b50ff09634ed800d
parent 5c55e854109beec700fc9ecbd6cce5c47d4045f3
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 21 Aug 2006 14:04:28 +0000
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3844 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git 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();