dankamongmen / notcurses

blingful character graphics/TUI library. definitely not curses.
https://nick-black.com/dankwiki/index.php/Notcurses
Other
3.6k stars 113 forks source link

mlterm doesn't generate mouse move events #2533

Open dankamongmen opened 2 years ago

dankamongmen commented 2 years ago

Running notcurses-input in mlterm, we don't see mouse move events, only button presses. This is in mode 1006, but also seems to be the case for 1016 (see #1457).

dankamongmen commented 2 years ago

also, starting MLterm generates the input \eP0+r\, at least recently. well, this has been going on since at least 3.0.3.

dankamongmen commented 2 years ago

also, starting MLterm generates the input \eP0+r\, at least recently. well, this has been going on since at least 3.0.3.

that's XTGETTCAP, right?

ghost commented 2 years ago

Yes, that is a response to XTGETTCAP:

DCS 0 + r Pt ST for invalid requests.
          The strings are encoded in hexadecimal (2 digits per
          character).

I'm experiencing the same issue. Seems like mlterm isn't handling any-event mode (1003), but is giving me button-event (1002).

dankamongmen commented 2 years ago

Yes, that is a response to XTGETTCAP:

DCS 0 + r Pt ST for invalid requests.
          The strings are encoded in hexadecimal (2 digits per
          character).

I'm experiencing the same issue. Seems like mlterm isn't handling any-event mode (1003), but is giving me button-event (1002).

yep. i'm handling the (negative) XTGETTCAP now, but yeah, no any-event.

ghost commented 2 years ago

That's a regression. mlterm used to give me any-event.

dankamongmen commented 2 years ago

so do we flip a coin to see who writes up the issue on mlterm? =]

ghost commented 2 years ago

Gotcha fam 👍

dankamongmen commented 2 years ago

Gotcha fam +1

look at @klamonte speaking the patois! this made me break into a wide smile =]

dankamongmen commented 2 years ago

https://github.com/arakiken/mlterm/issues/34

AutumnMeowMeow commented 2 years ago

It's fixed in mlterm now.

(Hello from my new account going forward. :-) )

dankamongmen commented 2 years ago

so this'll presumably be in 3.0.3, as 3.0.2 came out 25 days ago.