Fix kitty modifier events when only flag 2 is used

Fixes #5687
This commit is contained in:
Daniel Imms
2026-02-10 01:17:44 -08:00
parent e14746e6e9
commit b9fa53169f
2 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -418,7 +418,7 @@ export class KittyKeyboard {
return result;
}
if (isMod && !(flags & KittyKeyboardFlags.REPORT_ALL_KEYS_AS_ESCAPE_CODES) && !reportEventTypes) {
if (isMod && !(flags & KittyKeyboardFlags.REPORT_ALL_KEYS_AS_ESCAPE_CODES)) {
return result;
}