From: David Lawrence Ramsey Date: Sat, 18 Jun 2005 22:33:24 +0000 (+0000) Subject: remove the reset_cursor() call in statusq(), as it erroneously leaves X-Git-Tag: v1.3.8~72 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9c6d78669ef471a291999f0f5f89973cc9520a82;p=nano.git remove the reset_cursor() call in statusq(), as it erroneously leaves the cursor in the edit window when we're at the "Save File Under Different Name" prompt git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2731 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index 1d61389b..1bf4eb44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -299,11 +299,11 @@ CVS code - consistency. (DLR) - Rename variables def and ret to curranswer and retval to avoid confusion. (DLR) - - Call wnoutrefresh(bottomwin) and reset_cursor() after getting - an answer and blanking out the statusbar, to make sure that - the blanking is done. This fixes a problem where the - statusbar is not properly blanked after using the "Go To Line" - prompt with the NO_HELP flag set. (DLR) + - Call wnoutrefresh(bottomwin) after getting an answer and + blanking out the statusbar, to make sure that the blanking is + done. This fixes a problem where the statusbar is not + properly blanked after using the "Go To Line" prompt with the + NO_HELP flag set. (DLR) do_help() - Don't treat NANO_CANCEL_KEY as NANO_EXIT_KEY anymore, for consistency. (DLR) diff --git a/src/winio.c b/src/winio.c index 68ca7121..95ad06fc 100644 --- a/src/winio.c +++ b/src/winio.c @@ -2660,7 +2660,6 @@ int statusq(bool allow_tabs, const shortcut *s, const char *curranswer, blank_statusbar(); wnoutrefresh(bottomwin); - reset_cursor(); #ifdef DEBUG fprintf(stderr, "answer = \"%s\"\n", answer);