mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 16:05:02 +02:00
Change sybolic constant for insert key
This commit is contained in:
@@ -496,7 +496,7 @@ is_modified_special_key(NSEvent *event, NSEventModifierFlags modifierFlags) {
|
||||
case 0x1b: // Esc
|
||||
if (modifierFlags & (NSEventModifierFlagCommand | NSEventModifierFlagControl)) return true;
|
||||
break;
|
||||
case NSInsertFunctionKey: // Insert
|
||||
case NSHelpFunctionKey: // For some reason keyboards with an insert key have it mapped to help
|
||||
if (!modifierFlags || modifierFlags == NSEventModifierFlagShift) return true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user