feedback: report Ctrl+Alt keystrokes as unbindable
When reporting them as simply unbound, the user might think that M-^X keystrokes might somehow become bound.master
parent
5111b20bf5
commit
25d397e7b3
|
@ -1356,6 +1356,10 @@ void unbound_key(int code)
|
||||||
else if (meta_key) {
|
else if (meta_key) {
|
||||||
if (code == '[')
|
if (code == '[')
|
||||||
statusline(ALERT, _("Unbindable key: M-["));
|
statusline(ALERT, _("Unbindable key: M-["));
|
||||||
|
#ifndef NANO_TINY
|
||||||
|
else if (code < 0x20)
|
||||||
|
statusline(ALERT, _("Unbindable key: M-^%c"), code + 0x40);
|
||||||
|
#endif
|
||||||
else
|
else
|
||||||
statusline(ALERT, _("Unbound key: M-%c"), toupper(code));
|
statusline(ALERT, _("Unbound key: M-%c"), toupper(code));
|
||||||
} else if (code == ESC_CODE)
|
} else if (code == ESC_CODE)
|
||||||
|
|
Loading…
Reference in New Issue