mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 20:52:19 +00:00
Pass through all esc + modifier combinations since they arent generally used in macOS
This commit is contained in:
parent
85db87a121
commit
820fb6dda9
1 changed files with 2 additions and 2 deletions
|
|
@ -492,8 +492,8 @@ is_modified_special_key(NSEvent *event, NSEventModifierFlags modifierFlags) {
|
|||
return true;
|
||||
}
|
||||
}
|
||||
// ctrl+esc and cmd+esc
|
||||
if (ch == 0x1b && (modifierFlags == NSEventModifierFlagCommand || modifierFlags == NSEventModifierFlagControl)) return true;
|
||||
// ctrl+whatever+esc and cmd+whatever+esc
|
||||
if (ch == 0x1b && (modifierFlags & (NSEventModifierFlagCommand | NSEventModifierFlagControl))) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue