feedback: restore a message that can occur in help viewer or file browser

It was mistakenly removed in commit ea874112, two days ago.
master
Benno Schulenberg 2020-01-24 19:27:33 +01:00
parent a78da18aa4
commit f8553f6d3a
1 changed files with 5 additions and 1 deletions

View File

@ -1369,8 +1369,12 @@ void unbound_key(int code)
statusline(ALERT, _("Unbound key: M-%c"), toupper(code)); statusline(ALERT, _("Unbound key: M-%c"), toupper(code));
} else if (code == ESC_CODE) } else if (code == ESC_CODE)
statusline(ALERT, _("Unbindable key: ^[")); statusline(ALERT, _("Unbindable key: ^["));
else else if (code < 0x20)
statusline(ALERT, _("Unbound key: ^%c"), code + 0x40); 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 #ifdef ENABLE_MOUSE