Always send mousemove data
See original GitHub issueXterm.js only outputs mousemove data during a mouse click. I understand that’s a decent default, but could it be possible to add it as an option to make xterm always output the mousemove data?
Btw: I didn’t directly find any information in the docs about how to enable mouse support, but setting normalMouse
and mouseEvents
on the terminal object fixed that.
Details
- Browser and browser version: Firefox 57
- OS version: Ubuntu 17.04
- xterm.js version: 2.9.2
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (9 by maintainers)
Top Results From Across the Web
Element: mousemove event - Web APIs | MDN
The mousemove event is fired at an element when a pointing device (usually a mouse) is moved while the cursor's hotspot is inside...
Read more >Constantly trigger mousemove event - javascript
Show activity on this post. I have a script that triggers when the cursor is being moved: window. addEventListener('mousemove', function(e){ ...
Read more >.mousemove() | jQuery API Documentation
The mousemove event is sent to an element when the mouse pointer moves inside the element. Any HTML element can receive this event....
Read more >jQuery mousemove() Method
The mousemove() method triggers the mousemove event, or attaches a function to run when a mousemove event occurs. Note: Each time a user...
Read more >Moving the mouse: mouseover/out, mouseenter/leave
As shown, when the pointer moves from #parent element to #child , two handlers trigger on the parent element: mouseout and mouseover :...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looks like other terminals implement this and it’s documented here so this would be a nice to have. Opening it up for PRs, I’m don’t think we would want a (api) setting to drive this but rather when we see
CSI ? 1003 h
turn it on.I found this which is relevant to the implementation: https://www.bountysource.com/issues/41567993-mouse-mode-1003-is-unlike-xterm
@Tyriar I have a node.js terminal application that you could use this with: https://github.com/skerit/janeway
By default there’s only a hover button on the top left, but I could add some indicators on the right.