Commit 11d42bd
has_mouse() was added to ncurses after the 5.7 release, but the binding
guarded it only with NCURSES_MOUSE_VERSION, which 5.7 already defines, so
the module failed to compile against ncurses 5.7 (such as the system
curses on macOS). Gate it additionally on NCURSES_EXT_FUNCS, which holds
the library's patch date.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 7718157 commit 11d42bd
3 files changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| 468 | + | |
| 469 | + | |
468 | 470 | | |
469 | 471 | | |
470 | 472 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7041 | 7041 | | |
7042 | 7042 | | |
7043 | 7043 | | |
| 7044 | + | |
| 7045 | + | |
7044 | 7046 | | |
7045 | 7047 | | |
7046 | 7048 | | |
| |||
7055 | 7057 | | |
7056 | 7058 | | |
7057 | 7059 | | |
| 7060 | + | |
7058 | 7061 | | |
7059 | 7062 | | |
7060 | 7063 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments