Open jonas-grgt opened 1 month ago
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.
@semihbkgr thanks for point this out I wasn't aware of this. So basically all Ctrl / Alt / Meta + number combinations can't be used?
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"