We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample implementation to forward copy/paste
#import <WebKit/WebKit.h> @interface DSYWebView : WebView @end @implementation DSYWebView - (void)keyDown:(NSEvent *)theEvent { // no op - kills the beep; } - (BOOL)performKeyEquivalent:(NSEvent *)theEvent { NSString * chars = [theEvent characters]; BOOL status = NO; if ([theEvent modifierFlags] & NSCommandKeyMask){ if ([chars isEqualTo:@"a"]){ [self selectAll:nil]; status = YES; } if ([chars isEqualTo:@"c"]){ [self copy:nil]; status = YES; } if ([chars isEqualTo:@"v"]){ [self paste:nil]; status = YES; } if ([chars isEqualTo:@"x"]){ [self cut:nil]; status = YES; } } return status; }
The text was updated successfully, but these errors were encountered:
@aventurella Thanks for this suggestion. I've added it to my branch here: https://github.com/bjtitus/mac-miniplayer
If you have any more suggestions, file an issue with me and I'll try to incorporate them.
Sorry, something went wrong.
No branches or pull requests
Sample implementation to forward copy/paste
The text was updated successfully, but these errors were encountered: