Commit 83391ce
The mouse interface (getmouse(), the BUTTON* constants, ...) was gated on the
ncurses-specific NCURSES_MOUSE_VERSION macro, so it was dropped on other curses
implementations that provide it, such as NetBSD curses and PDCurses.
Gate it instead on a configure capability probe or the PDCURSES macro. Probe
for getmouse() with its X/Open getmouse(MEVENT *) signature, since PDCurses
declares an incompatible getmouse(void) unless built for the ncurses mouse API,
which PDC_NCMOUSE now always selects.
(cherry picked from commit 7bbea4f)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent e9d064f commit 83391ce
7 files changed
Lines changed: 94 additions & 16 deletions
File tree
- Include
- Misc/NEWS.d/next/Library
- Modules
- clinic
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1681 | 1681 | | |
1682 | 1682 | | |
1683 | 1683 | | |
1684 | | - | |
| 1684 | + | |
1685 | 1685 | | |
1686 | 1686 | | |
1687 | 1687 | | |
| |||
3532 | 3532 | | |
3533 | 3533 | | |
3534 | 3534 | | |
3535 | | - | |
| 3535 | + | |
3536 | 3536 | | |
3537 | 3537 | | |
3538 | 3538 | | |
| |||
4253 | 4253 | | |
4254 | 4254 | | |
4255 | 4255 | | |
4256 | | - | |
| 4256 | + | |
4257 | 4257 | | |
4258 | 4258 | | |
4259 | 4259 | | |
| |||
5685 | 5685 | | |
5686 | 5686 | | |
5687 | 5687 | | |
5688 | | - | |
| 5688 | + | |
5689 | 5689 | | |
5690 | 5690 | | |
5691 | 5691 | | |
| |||
5711 | 5711 | | |
5712 | 5712 | | |
5713 | 5713 | | |
5714 | | - | |
| 5714 | + | |
5715 | 5715 | | |
5716 | 5716 | | |
5717 | 5717 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7287 | 7287 | | |
7288 | 7288 | | |
7289 | 7289 | | |
| 7290 | + | |
| 7291 | + | |
| 7292 | + | |
| 7293 | + | |
| 7294 | + | |
| 7295 | + | |
| 7296 | + | |
| 7297 | + | |
| 7298 | + | |
| 7299 | + | |
| 7300 | + | |
| 7301 | + | |
7290 | 7302 | | |
7291 | 7303 | | |
7292 | 7304 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
194 | 197 | | |
195 | 198 | | |
196 | 199 | | |
| |||
0 commit comments