Hi
I try to implement drag support for my ncurses application. I found an example
It worked almost well, with two exceptions.
When I use the mouse wheel, the mouse is in some strange state, and when I try to move with the mouse, then it generates events like the left button is pressed, but no button is pressed. After left click the behaviour is returned to normal.
Second issue, that I can see, are a few false events. Although I did only mouse move, it generates the same mouse event like mouse click.
Name : ncurses
Version : 6.2
Release : 3.20200222.fc33
Architecture : x86_64
Size : 608 k
Source : ncurses-6.2-3.20200222.fc33.src.rpm
Repository : @System
From repo : anaconda
Summary : Ncurses support utilities
URL :
https://invisible-island.net/ncurses/ncurses.htmlLicense : MIT
Is there some way to implement drag correctly?
Regards
Pavel Stehule