Ctrl keys are < 0x7f, not Unicode.

pull/2695/head
Nicholas Marriott 2021-04-28 20:20:53 +01:00
parent e2d01795d2
commit 32c97a7f2f
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 &&