Hello Thomas!

On Sun Sep 14, 2025 at 01:42:52 GMT +03, Thomas Dickey wrote:
> However: in my earlier response, I was checking with Debian/12.
> I have a functional FreeBSD 14.2 (whenever 15 is released, I'll check
> on that...).
>
I am also daily driving FreeBSD and will probably switch to 15 once
it's released.

> Interestingly, the mouse results are different for the FreeBSD machine,
> which I can see by extra position events.  This happens with/without
> your patch.  Also, with/without the patch, I see dropped press or release
> events.  That's using an ssh connection to the Debian machine where I
> have the ncurses test-program at hand.
>
I was testing both with openSUSE Thumbleweed (Wayland) and FreeBSD 14.3 (Xorg) -
both behaved exactly the same.
Did you try with the program I sent earlier or do you have your own
test program?

> I don't see any instance where xterm puts a press and release event
> without a delay, but proving that would require maintaining a timestamp
> to show the intervals (seems like work, and would only be useful for
> debugging the library).

To test this particular behavior it was sufficient for me to literally
run `tput XM 1; cat`. And you will already see how a middle press doesn't
produce any escape sequence, while both escape sequences are emitted
on the release event.
Can you confirm this?

It was also because of this that I realized that getmouse() may have
to be called multiple times for every KEY_MOUSE.

Best regards,
Robin

-- 
@ii._._.*.._+__.+_+.+...+.+.++..+*+.+._.+...*_*.*.__+__._._.++..+_*.++__+__
.+_..*...+.+_+__.+._.+...*_+_+__._ ...*_ +.+._.+.._+*+_+__._._ .+_..+.+***_
. *_+_+__.+.*.++..+_+.*.__+_ _.+...*_*_+__.++*.+...++..+* +.+.._+__._+_.+..
.++..+*_.*...+*+.+.*_ +*+i2^rj.u#__%uu#_.%uu#_+%uu#_*!+!0a"t1010^t^c^c'0a^#
1010"=d'0a-100000"=d'0auuqq*100+q[_^euu]uq-rq:^/100@oo,+,+,+oqq^t0uq@o*+*!!

Attachment: signature.asc
Description: PGP signature

Reply via email to