You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To my understanding, the behavior you're seeing with Ctrl+1 is because the terminal only sends the character 1 without a distinct representation for the Ctrl modifier, as numeric key combinations do not generate unique key events like some control characters do.
Hey @jonas-grgt there is support for extended key combinations in v2 which is currently in alpha - we're at v2-alpha.2 now. You can also try again with a terminal emulator that supports the Kitty Keyboard Protocol.
Please let me know if these solutions end up working for you!
When pressing ctrl+ only the number is received in the
Update
method.To Reproduce
When pressing Ctrl+1 and evaluating
msg.String()
it returns "1"Expected behavior
When pressing Ctrl+1 and evaluating
msg.String()
it returns "ctrl+1"The text was updated successfully, but these errors were encountered: