mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-21 11:39:57 +03:00
Merge branch 'simplify' of https://github.com/Luflosi/kitty
This commit is contained in:
commit
da7a78691f
@ -368,7 +368,7 @@ - (void)openFilesFromPasteboard:(NSPasteboard *)pasteboard type:(int)type {
|
|||||||
bool
|
bool
|
||||||
cocoa_alt_option_key_pressed(NSUInteger flags) {
|
cocoa_alt_option_key_pressed(NSUInteger flags) {
|
||||||
NSUInteger q = (OPT(macos_option_as_alt) == 1) ? NSRightAlternateKeyMask : NSLeftAlternateKeyMask;
|
NSUInteger q = (OPT(macos_option_as_alt) == 1) ? NSRightAlternateKeyMask : NSLeftAlternateKeyMask;
|
||||||
return ((q & flags) == q) ? true : false;
|
return (q & flags) == q;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user