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

Auto-correction on the software keyboard(e.g. Gboard) makes typing terminal keys difficult #176

Open
jooy2 opened this issue Jul 7, 2023 · 0 comments

Comments

@jooy2
Copy link

jooy2 commented Jul 7, 2023

Hello,
In adapting xterm.dart to Android, I ran into one problem.
Android devices use Gboard (I'm sure other software keyboards have similar issues).

Due to the 'Auto correction' feature that is turned on by default in Gboard, I am experiencing issues with keystrokes in Terminal.
For example, if you type 'abc', the software keyboard will look like this

image

The terminal will then be in the following state:

image

In this case, 'abc' is not actually typed into the terminal, and only when you click 'Enter' on the software keyboard does it actually become a keystroke.
The terminal cursor is also stuck to the left, and other keystrokes (such as sending TAB) are ignored until you press Enter on the keyboard.

Turning off auto-correction prevents this from happening.

So, is it possible to have xterm.dart ignore auto-correction when focusing on the terminal, independent of keyboard settings?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant