Replies: 3 comments
-
You cannot just hook up regular mouse events as they're handled internally by xterm.js and not necessarily bubbled up to its container. I'm actually not sure what the best way to handle double click is, but using the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to use double-click event in xterm.js for automatically copy and paste, but double-click event does not work when there is words in the area where the mouse click. But double-click event works when there is empty in the area where the mouse click. The codes are as follows:
As you can see, when I double-click "22:34:06", there are nothing in console:
But when I double-click the empty area, there are the outputs in console:
It's still unclear to me why/when this would happen. So I will be very appreciated if you can help me find the reason.
Details
Beta Was this translation helpful? Give feedback.
All reactions