Menu ▾ ▴

Code Merge Request #4: aalib: Fix the curses driver build with opaque ncurses WINDOW (open)

Merging...

Merged

Something went wrong. Please, merge manually

Checking if merge is possible...

Something went wrong. Please, merge manually

Anders Kaseorg wants to merge 1 commit from /u/anders0/aa-project/ to master, 2026-10-06

Modern ncurses hides the WINDOW structure, so stdscr->_maxx no longer compiles. Use getmaxyx where it is available, which X/Open specifies as a macro, and keep the old field access for older curses.

Commit Date  
[d2cdb0] (aalib-ncurses-build) by Anders Kaseorg Anders Kaseorg

aalib: Fix the curses driver build with opaque ncurses WINDOW.

Modern ncurses hides the WINDOW structure, so stdscr->_maxx no longer
compiles. Use getmaxyx where it is available, which X/Open specifies
as a macro, and keep the old field access for older curses.

Co-Authored-By: Claude Opus 5.5 <noreply@...>

2026-10-05 23:28:42 Tree

Discussion


Log in to post a comment.