-
Notifications
You must be signed in to change notification settings - Fork 1
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
Better typing on Binding
#4
Comments
It might also be worth adding a third party crate that handles types for keyboard input. |
In general, I'd like to try and avoid pulling in a third party crate for something so simple. |
I like the idea of this. Would make debugging, as well as logging so much better. |
We do have use: https://docs.rs/global-hotkey/0.6.0/global_hotkey/ |
Oh yes sorry I didn't look into the dependencies that closely, that's perfect. |
Working on this in an upcoming coming breaking change which will remove the toml config. |
I think there should be a dedicated struct for modifiers that has Options for each kind of command. It would make debugging and providing error messages a lot more clear.
The text was updated successfully, but these errors were encountered: