Commit eb871e72 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

input: distinguish an unknown escape sequence from an unbound key

It is misleading to say "Unknown Command" when there is no way to rebind
the relevant key stroke do anything useful.
parent 3c8647e7
Showing with 3 additions and 1 deletion
+3 -1
......@@ -1143,7 +1143,9 @@ int parse_escape_sequence(WINDOW *win, int kbinput)
/* If we got an unrecognized escape sequence, notify the user. */
if (retval == ERR) {
if (win == edit) {
statusbar(_("Unknown Command"));
/* 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);
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