1
1

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.
Этот коммит содержится в:
Benno Schulenberg 2016-05-14 22:14:37 +02:00
родитель 6698659149
Коммит 73aa48b772

Просмотреть файл

@ -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"));
suppress_cursorpos = FALSE;
if (currmenu == MMAIN) {
reset_cursor();
curs_set(1);
}
beep();
}
}