From c36a04b235c37aa705dc629a2b0f5a0df1553200 Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Mon, 24 Oct 2016 23:16:38 +0100 Subject: [PATCH] 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 --- keymap.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.40.0