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.
Regards
Pavel
--
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav@gmail.com