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

Overlapping shortcuts #410

Open
delewis13 opened this issue Jul 2, 2022 · 0 comments
Open

Overlapping shortcuts #410

delewis13 opened this issue Jul 2, 2022 · 0 comments

Comments

@delewis13
Copy link

👋

Thank you for this great library :)

Would be great if there was some way to deal with overlapping shortcuts. E.x. I register V and Shift+V as two seperate calls with registerShortcut. Unfortunately, if I now use Shift+V, both callbacks are executed, and whats more there is no information in the callback that I can use to early return from the V callback [i.e. if I had access to what other keys were currently down, I could realise a modifier was pressed and exit early].

Cheers!

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

No branches or pull requests

1 participant