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.master
parent
6698659149
commit
73aa48b772
|
@ -1110,8 +1110,11 @@ int parse_escape_sequence(WINDOW *win, int kbinput)
|
||||||
/* TRANSLATORS: This refers to a sequence of escape codes
|
/* TRANSLATORS: This refers to a sequence of escape codes
|
||||||
* (from the keyboard) that nano does not know about. */
|
* (from the keyboard) that nano does not know about. */
|
||||||
statusbar(_("Unknown sequence"));
|
statusbar(_("Unknown sequence"));
|
||||||
reset_cursor();
|
suppress_cursorpos = FALSE;
|
||||||
curs_set(1);
|
if (currmenu == MMAIN) {
|
||||||
|
reset_cursor();
|
||||||
|
curs_set(1);
|
||||||
|
}
|
||||||
beep();
|
beep();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue