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 + space bar should become CTRL-@ #3896
Comments
For me: |
If it makes a difference, I'm typing this on a physical keyboard. Is there a way to collect logs for this that I can post here? |
Pretty sure this will depend on the layout of your physical keyboard, and the selected language/layout of the keyboard in android settings. What type of keyboard are you using?
You can get more information about keys and how termux interprets them through long press -> settings -> Termux -> Debugging -> Terminal View Key Logging. Then run |
After much messing around, I have learned two things. I compared the device with this issue (Meta Quest 3) with my phone (Pixel 8). CTRL+space works on the pixel, but fails on the Quest. On the Quest for some reason numlock is set (my keyboard has no numpad or numlock key). The output of CTRL+2 vs CTRL+@ is opposite between the two (CTRL+2 => In light of that, I'd ask two things with this ticket:
|
According to
showkey -a
, some keys are not registered or don't have the same output as a desktop terminal (both a bare console and XTerm).When CTRL+2 is pressed, the output is:
This is the correct behavior.
When CTRL+@ (CTRL+shift+2) is pressed, the output is:
This is not correct, it should be the same as CTRL+2 (this is the same behavior as other CTRL+shift+num, which are all incorrect).
CTRL+space is not registered by the terminal (i.e.,nothing is printed). This is also not correct, it should have the same output as CTRL+2.
I use these keys frequently, so pretty please support it.
The text was updated successfully, but these errors were encountered: