-
-
Notifications
You must be signed in to change notification settings - Fork 206
Convert NSEventModifierFlags to a symbolic representation #204
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
Comments
I mean how safe would this be?
|
Or something a bit cleaner
To use it like |
That looks fine, but you need to ensure the order is correct (that it follows the order macOS would put the symbols). We could add something for this here, but I want to avoid extending built-in types as it could cause conflicts with user's own extensions. |
@sindresorhus thank you. By the way, I just used you library in one of my apps https://apps.apple.com/us/app/tab-finder/id6741719894 Initially I just used HotKey library, but then users started asking to implement custom shortcuts and I looked into your library. Initially I tried yours before using HotKey, but it was unable to add to my packages for some reason (it fixed now). |
@sindresorhus you could add the list of apps which use this package to the README. |
No, it requires too much maintenance. |
Uh oh!
There was an error while loading. Please reload this page.
Do you know how I can safely convert a modifier from
KeyboardShortcuts.Name.openTabsList.shortcut.modifiers
to say"⇥"
?The text was updated successfully, but these errors were encountered: