Commit 73aa48b7 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

input: after an unknown sequence, reenable cursor only when in main menu

When in the browser, typing keys that produce an unknown escape sequence
should not switch on the cursor.
No related merge requests found
Showing with 5 additions and 2 deletions
+5 -2
......@@ -1110,8 +1110,11 @@ int parse_escape_sequence(WINDOW *win, int kbinput)
/* TRANSLATORS: This refers to a sequence of escape codes
* (from the keyboard) that nano does not know about. */
statusbar(_("Unknown sequence"));
reset_cursor();
curs_set(1);
suppress_cursorpos = FALSE;
if (currmenu == MMAIN) {
reset_cursor();
curs_set(1);
}
beep();
}
}
......
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