From f8553f6d3a6fa006cff01b96341e570a1415b4de Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 24 Jan 2020 19:27:33 +0100 Subject: [PATCH] feedback: restore a message that can occur in help viewer or file browser It was mistakenly removed in commit ea874112, two days ago. --- src/nano.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/nano.c b/src/nano.c index a0601b68..25695a58 100644 --- a/src/nano.c +++ b/src/nano.c @@ -1369,8 +1369,12 @@ void unbound_key(int code) statusline(ALERT, _("Unbound key: M-%c"), toupper(code)); } else if (code == ESC_CODE) statusline(ALERT, _("Unbindable key: ^[")); - else + else if (code < 0x20) statusline(ALERT, _("Unbound key: ^%c"), code + 0x40); +#if defined(ENABLE_BROWSER) || defined (ENABLE_HELP) + else + statusline(ALERT, _("Unbound key: %c"), code); +#endif } #ifdef ENABLE_MOUSE