input: give feedback for all unbound keys also in the help viewer

Silently doing nothing robs the user of a bit of information.

Signed-off-by: Brand Huntsman <alpha@qzx.com>
master
Brand Huntsman 2018-08-29 03:25:26 -06:00 committed by Benno Schulenberg
parent 13615d0953
commit 3270aac7db
1 changed files with 1 additions and 1 deletions

View File

@ -1581,7 +1581,7 @@ void unbound_key(int code)
statusline(ALERT, _("Unbound key: M-%c"), toupper(code));
} else if (code < 0x20)
statusline(ALERT, _("Unbound key: ^%c"), code + 0x40);
else if (currmenu != MHELP)
else
statusline(ALERT, _("Unbound key: %c"), code);
}