Commit 9c6d7866 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

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
No related merge requests found
Showing with 5 additions and 6 deletions
+5 -6
...@@ -299,11 +299,11 @@ CVS code - ...@@ -299,11 +299,11 @@ CVS code -
consistency. (DLR) consistency. (DLR)
- Rename variables def and ret to curranswer and retval to avoid - Rename variables def and ret to curranswer and retval to avoid
confusion. (DLR) confusion. (DLR)
- Call wnoutrefresh(bottomwin) and reset_cursor() after getting - Call wnoutrefresh(bottomwin) after getting an answer and
an answer and blanking out the statusbar, to make sure that blanking out the statusbar, to make sure that the blanking is
the blanking is done. This fixes a problem where the done. This fixes a problem where the statusbar is not
statusbar is not properly blanked after using the "Go To Line" properly blanked after using the "Go To Line" prompt with the
prompt with the NO_HELP flag set. (DLR) NO_HELP flag set. (DLR)
do_help() do_help()
- Don't treat NANO_CANCEL_KEY as NANO_EXIT_KEY anymore, for - Don't treat NANO_CANCEL_KEY as NANO_EXIT_KEY anymore, for
consistency. (DLR) consistency. (DLR)
......
...@@ -2660,7 +2660,6 @@ int statusq(bool allow_tabs, const shortcut *s, const char *curranswer, ...@@ -2660,7 +2660,6 @@ int statusq(bool allow_tabs, const shortcut *s, const char *curranswer,
blank_statusbar(); blank_statusbar();
wnoutrefresh(bottomwin); wnoutrefresh(bottomwin);
reset_cursor();
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, "answer = \"%s\"\n", answer); fprintf(stderr, "answer = \"%s\"\n", answer);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment