nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 3270aac7dbc00aeb7ba608983fde1771cd3d9986
parent 13615d09538704aa83caf06208019dcadb704bd8
Author: Brand Huntsman <alpha@qzx.com>
Date:   Wed, 29 Aug 2018 03:25:26 -0600

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>

Diffstat:
Msrc/nano.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nano.c b/src/nano.c @@ -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); }