From 9054e3a2ae35ffd586e5e225f683b02463619547 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Tue, 29 Aug 2006 21:14:12 +0000 Subject: [PATCH] fix breakage git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3867 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/nano.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/nano.c b/src/nano.c index 7f94cfaf..2e9f8444 100644 --- a/src/nano.c +++ b/src/nano.c @@ -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. */