-
Notifications
You must be signed in to change notification settings - Fork 164
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
Keybindings config character uppercase #512
Comments
Thanks for this report! It turns out that it appears impossible to get an event from the terminal with an uppercase character when modifiers are present, such as The parser should normalize the character to lowercase whenever modifiers are present. So the patch is a little different; the first |
The patch is now on |
@jtdaugherty works for me - the uppercase versions now conflict with the lowercase ones. 👍 I am surprised that shift is not recognized as a modifier. Maybe it is recognized only on some terminals/platforms? |
@byorgey in swarm-game/swarm#1979 (comment)
I am also confused by the behavior. Neither the Brick nor Vty documentation specifies what the case should be.
I suspect this code:
brick/src/Brick/Keybindings/Parse.hs
Lines 126 to 128 in 79c9317
Should use the lowercase
t
instead of the originals
text:Either way, I tried configuring a keybinding with Ctrl and Shift and could not get it to run:
The text was updated successfully, but these errors were encountered: