tweaks: sharpen an optimization, to allow DEL to be a shortcut
Этот коммит содержится в:
родитель
eaeafe29ca
Коммит
4e7b92ed4c
@ -1765,7 +1765,8 @@ const sc *get_shortcut(int *kbinput)
|
||||
#endif
|
||||
|
||||
/* Plain characters cannot be shortcuts, so just skip those. */
|
||||
if (!meta_key && (*kbinput & 0x7F) >= 0x20 && *kbinput <= 0xFF)
|
||||
if (!meta_key && ((*kbinput >= 0x20 && *kbinput < 0x7F) ||
|
||||
(*kbinput >= 0xA0 && *kbinput <= 0xFF)))
|
||||
return NULL;
|
||||
|
||||
for (s = sclist; s != NULL; s = s->next) {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user