bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mouse handling doesn't looks correct


From: Pavel Stehule
Subject: Re: mouse handling doesn't looks correct
Date: Wed, 27 Jan 2021 15:36:56 +0100



st 27. 1. 2021 v 13:46 odesílatel Pavel Stehule <pavel.stehule@gmail.com> napsal:


st 27. 1. 2021 v 13:37 odesílatel Paul Fertser <fercerpav@gmail.com> napsal:
Hello,

On Wed, Jan 27, 2021 at 01:19:05PM +0100, Pavel Stehule wrote:
>   I am testing this example, and it doesn't work like I expect. ncurses does
>   only two events - click press and click release.

Are you testing with TERM=xterm-1003 ? Please also check
https://stackoverflow.com/a/29023361 (how to combine mouse motion
events with 256 colours).

ook. It is working, although a little bit more than I expected (the bits for mouse buttons are zero) - and it is working for GNOME terminal too. But I am afraid so nobody will set TERM to this value. It doesn't work with the default xterm setting.

I don't understand why this feature is not default? The necessity of  modification of terminfo looks really strange.

Regards

Pavel





Regards

Pavel


--
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav@gmail.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]