From: Richard Russon Date: Mon, 24 Oct 2016 22:16:38 +0000 (+0100) Subject: fix: display correct help key X-Git-Tag: neomutt-20161028~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c36a04b235c37aa705dc629a2b0f5a0df1553200;p=neomutt fix: display correct help key If you remap the help key, then press an unbound key, mutt still tells you to press '?' for help. This change makes mutt display a correct binding. Fixes: #214 --- diff --git a/keymap.c b/keymap.c index cd8c9a043..5c913b6a8 100644 --- a/keymap.c +++ b/keymap.c @@ -858,6 +858,7 @@ void km_error_key (int menu) return; } + km_expand_key(buf, sizeof(buf), key); mutt_error (_("Key is not bound. Press '%s' for help."), buf); return; }