-
Is there a way to prevent xterm.js from getting text input focus when the terminal window is clicked, but still allow xterm.js to do text selection via mouse/touch? I want the ability to select the onscreen text on a mobile platform, but I don't want to trigger opening the on screen keyboard. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
RahjIII
Dec 26, 2024
Replies: 1 comment
-
Adding the "disabled" attribute to the items with the classname "xterm-helper-textarea" had the effect that I was looking for. Something like this worked for me for preventing a focus grab and having the soft keyboard from opening up.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RahjIII
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adding the "disabled" attribute to the items with the classname "xterm-helper-textarea" had the effect that I was looking for. Something like this worked for me for preventing a focus grab and having the soft keyboard from opening up.