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.
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: