mirror of git://git.sv.gnu.org/nano.git
tweaks: remove a feedback message that is never shown
A plain printable ASCII character (from 0x20 to 0x7E) can never be a shortcut, so it also can never get reported as being unbound.
This commit is contained in:
parent
25d397e7b3
commit
ea874112d8
|
@ -1364,10 +1364,8 @@ void unbound_key(int code)
|
|||
statusline(ALERT, _("Unbound key: M-%c"), toupper(code));
|
||||
} else if (code == ESC_CODE)
|
||||
statusline(ALERT, _("Unbindable key: ^["));
|
||||
else if (code < 0x20)
|
||||
statusline(ALERT, _("Unbound key: ^%c"), code + 0x40);
|
||||
else
|
||||
statusline(ALERT, _("Unbound key: %c"), code);
|
||||
statusline(ALERT, _("Unbound key: ^%c"), code + 0x40);
|
||||
}
|
||||
|
||||
#ifdef ENABLE_MOUSE
|
||||
|
|
Loading…
Reference in New Issue