Ctrl keys are < 0x7f, not Unicode.

pull/2739/head
Nicholas Marriott 2021-04-28 20:20:53 +01:00
parent 059580e0f7
commit ad2f7642f2
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ key_string_lookup_string(const char *string)
}
/* Convert the standard control keys. */
if (KEYC_IS_UNICODE(key) &&
if (key <= 127 &&
(modifiers & KEYC_CTRL) &&
strchr(other, key) == NULL &&
key != 9 &&