xterm.js icon indicating copy to clipboard operation
xterm.js copied to clipboard

Fix key duplication on Android with physical keyboards

Open nya3jp opened this issue 6 months ago • 0 comments

This is a fix for #5438.

When typing rapidly on Android with physical keyboards, characters often duplicate on the terminal. This is because physical keyboard events always go through IME on Android, even for plain English characters, and rapid typing causes a race condition in the composition helper.

This patch fixes the issue by making sure textarea changes are handled correctly.

nya3jp avatar Nov 07 '25 03:11 nya3jp