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();
}
#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. */