We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79a6fcd commit 1eaf708Copy full SHA for 1eaf708
kitty/cocoa_window.m
@@ -368,7 +368,7 @@ - (void)openFilesFromPasteboard:(NSPasteboard *)pasteboard type:(int)type {
368
bool
369
cocoa_alt_option_key_pressed(NSUInteger flags) {
370
NSUInteger q = (OPT(macos_option_as_alt) == 1) ? NSRightAlternateKeyMask : NSLeftAlternateKeyMask;
371
- return ((q & flags) == q) ? true : false;
+ return (q & flags) == q;
372
}
373
374
void
0 commit comments