-
Notifications
You must be signed in to change notification settings - Fork 91
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
Mouse support via DEC Locator mode #186
Comments
As I've read in updates in xtermjs/xterm.js#5310 (comment) and xtermjs/xterm.js#5311 (comment) , it look like your example is using some old mouse encoding and maybe new should be considered? If I read responses correctly some examples could be: |
@gwpl This repository isn't maintained any more, and that drawing app is just a demonstration, so it's highly unlikely anyone is going to want to update it to use a different mouse encoding. So if you want to try out that app, I'd recommend you look for a better terminal. If you're on Linux, I think xterm or mlterm should work. And if you're on Windows you could try mintty or rlogin. There are probably a few others that should also work. |
Hello @j4james thank you for feedback! Regarding terminal, I am exploring possibilities of building on a top of |
@gwpl Sorry, I didn't follow all your links, and I mistakenly assumed that If you're really keen to get this particular demo to work, you could always try adding support for the sgr-pixel mode yourself. It's a fairly basic app, so it shouldn't be that difficult, but I don't know much about the sgr-pixel protocol, so it may be more complicated than I'm imagining. |
@gwpl Well the sgr-pixel stuff is quite easy to implement (imho much easier than the DEC locator protocol). Whether it is easy to update the demo here idk, but you are most likely on your own here, as this repo is pretty much abandoned... |
Thank you for hints and pointers on potential direction! |
I tried in ttyd on Linux running and mouse was not detected:
Drawing Example

This example suggests how to implement the interaction among SIXEL terminals and pointer devices.
https://github.com/saitoha/libsixel/tree/master/examples/drawing
Not sure if problem is in example or in xterm.js or ttyd, so making ticket on each repo and cross linking:
tsl0922/ttyd#1422
xtermjs/xterm.js#5310
#186
(I never know what's the right way of making issue that are across repositories 🙈 , if there is any "right way")
The text was updated successfully, but these errors were encountered: