From eb871e72f54e446e038e9084af2183a00e39cf54 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensberg@justemail.net> Date: Sun, 1 May 2016 10:02:49 +0200 Subject: [PATCH] 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. --- src/winio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/winio.c b/src/winio.c index 7881ee9f..af8e8181 100644 --- a/src/winio.c +++ b/src/winio.c @@ -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(); -- GitLab