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

Support for key modifier prefixes for shortcut keys #144

Open
mrsean2k opened this issue Sep 29, 2020 · 2 comments
Open

Support for key modifier prefixes for shortcut keys #144

mrsean2k opened this issue Sep 29, 2020 · 2 comments

Comments

@mrsean2k
Copy link

Is there any way to allow modifier keys such as CTRL to be used in the interface?

Aware this might just be my ignorance if this is supported in the configuration file.

@xgi
Copy link
Owner

xgi commented Oct 1, 2020

Yeah, this is not currently supported with the config settings. I'll have to look into more how this works with the UI library, but I'll see if I can add this. I don't think I could explicitly handle key-sequences but I should be able to differentiate inputs like ^M for ctrl-shift-m. Will need to experiment more. Thanks!

@tistatos
Copy link
Contributor

tistatos commented Dec 4, 2020

It seems that it is possible to use Shift as a modifier key.
This is simply made by using the uppercase-letter in the config file.

For instance:

# Show the help menu.
# default: h
key_help = H

NOTE: Having caps-lock active will have the same effect

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

3 participants