-
-
Notifications
You must be signed in to change notification settings - Fork 318
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
Ctrl+I comes across as Tab #204
Comments
This is fairly fundamental because tcell cannot tell the difference. Indeed, there are a bunch of other control keys that are indistinguishable from special keys. For example, CTRL-M sends a carriage return and CTRL-H sends a backspace. This is fundamental to how control keys are represented within ASCII and expressed over ttys. (GUI apps can see different values here because they see raw key codes instead.) The moral of the story is, don't depend too much on control keys meaning anything in your app. There are a many that are safe, but a number of them are not. At any rate, there is absolutely nothing that a terminal program can do to tell the difference here. Sorry. |
Thanks for the feedback. |
In the mouse demo, if I push Ctrl+I it comes across as Tab (on linux) or Ctrl+Tab (on windows). Not Ctrl+I, which is what I would expect.
The text was updated successfully, but these errors were encountered: