<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] mouse tracking support



On Sat, Apr 02, 2005 at 06:11:17PM -0500, Thomas Dickey wrote:
> On Sun, 3 Apr 2005, Anatoly Vorobey wrote:
> 
> >- Currently the events that are recognised are: button clicks and wheel
> >movements for wheel mice. Wheel movements are only recognized with SLang
> >because ncurses doesn't support wheel movement recognition.
> 
> from ncurses NEWS file:
> 
> 20050205
>         + add experimental configure option --enable-ext-mouse, which 
>         defines
>           NCURSES_MOUSE_VERSION 2, and modifies the encoding of mouse 
>           events to
>           support wheel mice, which may transmit buttons 4 and 5.  

Oh. That's great, thanks! I was going to make a patch to send to you with
more or less the same functionality, and now I don't have to! :) (I'd found
this:  
http://lists.gnu.org/archive/html/bug-ncurses/2005-02/msg00008.html ,
but I only looked at lib_mouse.c of the last release, 5.4, and haven't 
checked subsequent patches yet).

-- 
avva
"There's nothing simply good, nor ill alone" -- John Donne