[Top][All Lists]

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

Re: Mouse button handling

From: Thomas Dickey
Subject: Re: Mouse button handling
Date: Sun, 4 Sep 2011 13:00:31 -0400 (EDT)

On Sun, 4 Sep 2011, Damien Guibouret wrote:

The change that breaks something in my case was the one to handle wheel up/down: as it tests for event code to be 64 instead of 96, I've got 'button 4 press' instead of 'mouse motion with button 1 pressed' (the terminal I use has the 1002 DECSET mode as explained into http://www.xfree86.org/current/ctlseqs.html). But with looking at that, I've

It helps to test the feature when the documentation is terse (as in the case of ctlseqs).

I did that last night, by compiling a copy of the ncurses test program using the --enable-ext-mouse feature. It worked as expected.

by the way, the pages on xfree86.org are rather old - see my xterm faq for
current documentation.

Thomas E. Dickey

reply via email to

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