Skip to content
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

Tab completion makes random characaters appear on enter. #6011

Closed
neil-edelman opened this issue Nov 10, 2020 · 5 comments
Closed

Tab completion makes random characaters appear on enter. #6011

neil-edelman opened this issue Nov 10, 2020 · 5 comments

Comments

@neil-edelman
Copy link

Tab completion very often makes seemingly random characters (but the same characters in the same spot on executing the same command) get mixed up on pressing enter on the end of the latest tab completion. The tab completion is fine until the user presses enter, then it (probably) fails.

@Grimler91
Copy link
Member

Could you provide a screenshot of the problem, and your output of termux-info?
Is this with the touch keyboard or a hardware keyboard? How are you pressing tab, with vol up + t or by using the extra-keys, or some other way?

@neil-edelman
Copy link
Author

neil-edelman commented Nov 15, 2020

I am on a Samsung Galaxy 9, Android 10, patch Sept 1, 2020, and am using the on-screen Samsung keyboard OEM; tab in between ESC and CTRL onscreen.

Screenshot_20201114-234259_Termux

$ termux-info
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://main.termux-mirror.ml/ stable main
# game-repo (sources.list.d/game.list)
deb https://dl.bintray.com/grimler/game-packages-24 games stable
# science-repo (sources.list.d/science.list)
deb https://dl.bintray.com/grimler/science-packages-24 science stable
Updatable packages:
gdk-pixbuf/stable 2.42.0 aarch64 [upgradable from: 2.40.0-2]
grep/stable 3.6 aarch64 [upgradable from: 3.5]
termux-tools/stable 0.97 all [upgradable from: 0.96]
Android version:
10
Kernel build information:
Linux localhost 4.9.186-18803994 #1 SMP PREEMPT Thu Aug 20 02:09:03 KST 2020 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-G960W

@neil-edelman
Copy link
Author

I observed it futher, and it's not just tab-completion. Every time I press space or enter, the terminal has a fairly high probability of inserting random, but seemingly deterministic characters, seemingly from my input buffer. It's variable lenght, but fairly close to the replaced text. It's most noticable on tab-completion.

@Grimler91
Copy link
Member

Try the workaround for samsung keyboards described here: https://wiki.termux.com/wiki/Terminal_Settings#Workaround_for_some_keyboards_issues

@neil-edelman
Copy link
Author

Yes, that sounds like exactly the problem. I couldn't reproduce it after the workaround, so I'm marking this closed. Thank you!

@ghost ghost locked and limited conversation to collaborators Oct 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants