xtermjs / xterm.js

A terminal for the web
https://xtermjs.org/
MIT License
17.43k stars 1.62k forks source link

Forced mouse selection in terminal cleared after mouse movement under 1003 (all events) and 1006 (SGR) combination #4903

Closed Tyriar closed 9 months ago

Tyriar commented 9 months ago

See info in original report: https://github.com/microsoft/vscode/issues/194554

It's not clear why printf '\e[?1003h' will not clear a selection while firing mouse events, but printf '\e[?1006h' does. (I'm not too familiar with the mouse event code)

Tyriar commented 9 months ago

duplicate of https://github.com/xtermjs/xterm.js/issues/4297