You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently #config MOUSE ON enables "Button-event tracking", but there is also an even more verbose mode called "Any-event mode", which reports cursor movements even when no button is pressed. (https://www.xfree86.org/current/ctlseqs.html#Mouse%20Tracking)
seems to enable things like (after I created a url MSLP link) #event {MOVED SECURE LINK url MOUSE} {#showme url: %4 -4 -30}, (or just plain #event {MOVED MOUSE}.)
Just enabling those would be nice, but I wonder if maybe we could also have some TinTin-filtered events?
something like
#event {ENTER LINK url MOUSE} {#showme Only fires once, when mouse enters link region}
#event {LEAVE LINK url MOUSE} {#showme Fires once, when mouse leaves link region}
My use case would be showing the command that will be sent on clicking when you hover the mouse over a link.
Or for a list of rooms: on left-clicking the room name currently my script speedwalks you there, while right-clicking shows the map at that location. It would be neat if I could just show the map when hovering over the link.
The text was updated successfully, but these errors were encountered:
I've got it disabled since it makes #config mouse info obnoxious to use. #showme \e[?1003h\ and #showme \e[?1003l\ work though as an alternative to #config.
ENTER/LEAVE might be possible, I'll add it to my todo list.
Currently
#config MOUSE ON
enables "Button-event tracking", but there is also an even more verbose mode called "Any-event mode", which reports cursor movements even when no button is pressed. (https://www.xfree86.org/current/ctlseqs.html#Mouse%20Tracking)Changing
tintin/src/config.c
Lines 598 to 602 in b0fa433
to (i.e.
1002
to1003
)seems to enable things like (after I created a
url
MSLP link)#event {MOVED SECURE LINK url MOUSE} {#showme url: %4 -4 -30}
, (or just plain#event {MOVED MOUSE}
.)Just enabling those would be nice, but I wonder if maybe we could also have some TinTin-filtered events?
something like
#event {ENTER LINK url MOUSE} {#showme Only fires once, when mouse enters link region}
#event {LEAVE LINK url MOUSE} {#showme Fires once, when mouse leaves link region}
My use case would be showing the command that will be sent on clicking when you hover the mouse over a link.
Or for a list of rooms: on left-clicking the room name currently my script speedwalks you there, while right-clicking shows the map at that location. It would be neat if I could just show the map when hovering over the link.
The text was updated successfully, but these errors were encountered: