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>
This commit is contained in:
Brand Huntsman
2018-09-01 10:05:23 +02:00
committed by Benno Schulenberg
parent 13615d0953
commit 3270aac7db
+1 -1
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);
}