fix breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3867 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
1b3e4e117a
commit
9054e3a2ae
|
@ -2223,9 +2223,6 @@ int main(int argc, char **argv)
|
|||
while (TRUE) {
|
||||
bool meta_key, func_key, s_or_t, ran_func, finished;
|
||||
|
||||
/* Make sure the statusbar cursor position is reset. */
|
||||
do_prompt_abort();
|
||||
|
||||
/* Make sure the cursor is in the edit window. */
|
||||
reset_cursor();
|
||||
|
||||
|
@ -2240,6 +2237,10 @@ int main(int argc, char **argv)
|
|||
}
|
||||
#endif
|
||||
|
||||
/* Just in case we were at the statusbar prompt, make sure the
|
||||
* statusbar cursor position is reset. */
|
||||
do_prompt_abort();
|
||||
|
||||
/* If constant cursor position display is on, and there are no
|
||||
* keys waiting in the input buffer, display the current cursor
|
||||
* position on the statusbar. */
|
||||
|
|
Loading…
Reference in New Issue