Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send Mouse X & Y on button press and release. This is the X11 xterm mouse protocol. #8

Open
tomek-szczesny opened this issue Jul 8, 2021 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@tomek-szczesny
Copy link
Owner

// \e[?1000h            // Send Mouse X & Y on button press and release. This is the X11 xterm mouse protocol.
// \e[?1000l            // Don't send...

So my understanding is that if the "Send..." sequence has been sent, a terminal will respond with mouse presses to the application.
Okay then, yet another context bit, and probably a callback function on each button press, I think?

@tomek-szczesny tomek-szczesny added enhancement New feature or request question Further information is requested labels Jul 8, 2021
@o-sdn-o
Copy link

o-sdn-o commented Jul 8, 2021

Related directvt/vtm#62

1000 mode for buttons tracking
1001 mode for buttons + movements while pressed tracking
1002 mode for buttons + movements tracking

1000 mode for buttons tracking
1002 mode for buttons + movements while pressed tracking
1003 mode for buttons + movements tracking

@tomek-szczesny
Copy link
Owner Author

So now I need to capture mouse hovering over VT and send all that somewhere.. This is getting complex :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants