bug-ncurses
[Top][All Lists]
Advanced

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

Re: mouse button release behavior


From: Thomas Dickey
Subject: Re: mouse button release behavior
Date: Tue, 25 Dec 2007 16:45:53 -0500 (EST)

On Tue, 25 Dec 2007, vaillant wrote:


Hello,

I'm writing an application with ncurses that uses button1 and button3
simultaneously.  It appears that when holding down both buttons and then
releasing either button, ncurses always registers that the released button
is the last one pressed.  E.g. for the following 2 sequences, ncurses always
registers that the final release is button3:

press and hold button1--press and hold button3--release button1
press and hold button1--press and hold button3--release button3

Is this expected behavior?  I'm using ncurses 5.6 with OS X.

xterm's mouse protocol doesn't allow for more - it tells which button
is pressed, but not which one was released.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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