Mouse support? #4957
henrysheehy
started this conversation in
General
Mouse support?
#4957
Replies: 1 comment
-
@henrysheehy You might want to read about mouse reports in xterm to get an idea how applications can use mouse reports (link: https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Mouse-Tracking). The supported encodings and protocols you will find in https://github.com/xtermjs/xterm.js/blob/master/src/common/services/CoreMouseService.ts, before inventing something very custom you might want to check first, if your mouse ideas fit any of these to stay compatible what most terminal emulators can do. If the defaults above don't suit your ideas, you will have to build your own mouse event handlers as you'd do for any other web app. |
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
-
How can I enable mouse input? Specifically, I want to easily click text in Vim to move the mouse pointer and highlight for copying. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions