On Sun, Sep 14, 2025 at 11:56:07AM +0000, Robin Haberkorn wrote:
> Hello Thomas!
> 
> On Sun Sep 14, 2025 at 03:03:29 GMT +03, Thomas Dickey wrote:
> > 20250913
> > ...
> >     > patches by Robin Haberkorn
> >       + modify handle_wheel case 2 to ignore the event as in case 1 for
> >         mouse version 1, since that corresponds to a button 6 or 7 event
> >         which is not supported with ABI 6.
> >       + use separate read/write pointers in the mouse event queue to work
> >         with too-close events for the click-detection to work reliably,
> >         and further improve that in case mouseinterval(0) is used to
> >         suppress click-detection.
> 
> Great to see that my patches have been merged.
> Suppose I want to check for a ncurses version *before* that, I guess
> the following will be sufficient:
> 
> #if NCURSES_VERSION_PATCH < 20250913
> /* workaround
> #endif

this works:

       const char * curses_version(void);
 
> Some ancient versions of ncurses probably lack the NCURSES_VERSION_PATCH
> macro, but the C preprocessor will treat undefined macros as 0 in this
> context.
> 
> btw. I notice that your Github mirror of ncurses has one commit per weekly
> patch. It would be useful if you could include the changelog from your weekly
> mails in these Git commit messages.

ah... it would be nice, but I could digress a bit about the work involved.
I have about 50 repos, and set up exports as an alternative to tarballs.
If you read through the page on git-exports, you'll see why that's the case.

This one used to do that:
        git://ncurses.scripts.mit.edu/ncurses.git

(looks like it died in May of this year).

However,
        https://invisible-island.net/ncurses/NEWS.html

is where I'd look first.

-- 
Thomas E. Dickey <[email protected]>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature

Reply via email to