Skip to content
New issue

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

Allow overriding system-reserved shortcuts #151

Conversation

tofumatt
Copy link
Contributor

@tofumatt tofumatt commented Oct 26, 2023

Fix #33.

Updated version of #125 with the linting errors fixed, and "OK" as the default option in the dialog.

Works as-expected in my app:

CleanShot.2023-10-26.at.11.31.08.mp4

@sindresorhus
Copy link
Owner

What keyboard combination do you use to test the dialog (to trigger it)?

@tofumatt
Copy link
Contributor Author

tofumatt commented Nov 13, 2023

I used "Command + Escape", which is actually my usual keyboard shortcut for an app I'm transitioning to use KeyboardShortcuts from another library, so at first was very confused why it wouldn't work (the old library never detected it was a "reserved shortcut") 😅

@sindresorhus sindresorhus merged commit de40257 into sindresorhus:main Nov 15, 2023
1 check passed
@tofumatt tofumatt deleted the allow-overriding-of-system-shortcuts-33 branch November 15, 2023 15:16
Repository owner deleted a comment from chatobn Jan 22, 2024
Repository owner deleted a comment from chatobn Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow some system-reserved keyboard shortcuts that are not used?
3 participants