Skip to content

Use PDCursesMod instead of forked PDCurses - #154

Merged
shugo merged 3 commits into
ruby:masterfrom
shugo:use-pdcursesmod
Aug 24, 2026
Merged

Use PDCursesMod instead of forked PDCurses#154
shugo merged 3 commits into
ruby:masterfrom
shugo:use-pdcursesmod

Conversation

@shugo

@shugo shugo commented Aug 24, 2026

Copy link
Copy Markdown
Member

No description provided.

shugo and others added 2 commits August 24, 2026 13:31
The vendored PDCurses was a fork of Bill Gray's PDCurses (now
PDCursesMod) with a workaround to display full-width characters
correctly on new Windows consoles.  The workaround was merged
upstream in PDCursesMod commit f69a0d02 and superseded by a more
robust implementation in commit fac87bd9, so the fork is no longer
needed.

Point the submodule at Bill-Gray/PDCursesMod and update extconf.rb
for the new makefile name (Makefile.mng was replaced by Makefile in
the wincon port).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
PDCursesMod's PDC_beep() calls PlaySound(), so linking the static
pdcurses library fails with an undefined reference to
__imp_PlaySoundW unless winmm is also linked.  The mswin build is
not affected because pdcurses.dll is linked against winmm.lib by
Makefile.vc.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@shugo shugo changed the title Use pdcursesmod Use PDCursesMod instead of forked PDCurses Aug 24, 2026
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@shugo
shugo merged commit 25878ba into ruby:master Aug 24, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant