Skip to content

Conversation

@illwieckz
Copy link
Member

  • PDCursesMod is forced on Windows as USE_CURSES is always enabled since there is no other console code.
  • PDCursesMod is used on macOS if USE_CURSES is enabled, it couldn't be enabled before as system ncurses isn't supported.
  • PDCursesMod is used on Linux if USE_CURSES is enabled, but USE_CURSES_NCURSES is disabled.
  • ncurses is used on Linux if both USE_CURSES and USE_CURSES_NCURSES are enabled.

See:

- PDCursesMod is forced on Windows as USE_CURSES is
  always enabled since there is no other console code.
- PDCursesMod is used on macOS if USE_CURSES is enabled,
  it couldn't be enabled before as system ncurses isn't supported.
- PDCursesMod is used on Linux if USE_CURSES is enabled,
  but USE_CURSES_NCURSES is disabled.
- ncurses is used on Linux if both USE_CURSES and
  USE_CURSES_NCURSES are enabled.

Co-authored-by: slipher <[email protected]>
@illwieckz illwieckz added A-Build T-Feature-Request Proposed new feature labels Dec 4, 2024
@illwieckz illwieckz force-pushed the illwieckz/pdcursesmod-everywhere branch 2 times, most recently from fa5eba1 to b92da01 Compare December 4, 2024 13:39
@slipher
Copy link
Member

slipher commented Dec 11, 2024

I tested on Mac and the cursor was broken. But it was easy to guess the culprit: some #ifdef _WIN32s should be if using pdcurses. I pushed a fixup commit for that.

LGTM with the fixup

@illwieckz illwieckz force-pushed the illwieckz/pdcursesmod-everywhere branch from d2d706f to a376550 Compare December 11, 2024 13:04
@illwieckz illwieckz merged commit 0cc7809 into master Dec 11, 2024
9 checks passed
@illwieckz illwieckz deleted the illwieckz/pdcursesmod-everywhere branch December 11, 2024 13:24
@illwieckz
Copy link
Member Author

I confirm the PDCursesMod builds properly in the dockerized build script (and runs properly on macOS).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Build T-Feature-Request Proposed new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants