nethack: Add curses interface - #62341
Open
pixelflaps wants to merge 1 commit into
Open
Conversation
Duncaen
requested changes
Sep 7, 2026
| hostmakedepends="flex groff" | ||
| makedepends="lua54-devel ncurses-devel ncurses-libtinfo-devel pkg-config" | ||
| depends="gzip" | ||
| depends="gzip ncurses" |
Member
There was a problem hiding this comment.
This doesn't seem right, ncurses-devel would be required in makedepends to be able to build with it.
Contributor
Author
There was a problem hiding this comment.
ncurses-devel was already in makedepends, which is why this PR doesn't add it. I'm away from my computer for a few days, but I can take another look when I return
Member
There was a problem hiding this comment.
In this case it already links against libcurses and therefor already automatically depends on ncurses-libs, so this shouldn't added.
Contributor
Author
There was a problem hiding this comment.
Thank you, you are correct; I've removed the extraneous dependency and can confirm that the curses interface still works without it
pixelflaps
force-pushed
the
nethack-curses
branch
from
September 9, 2026 16:06
2816ec0 to
d6aa265
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change builds Nethack with support for the (optional) curses interface, allowing you to use
OPTIONS=windowtype:cursesin your.nethackrc. This offers better support for larger terminal windows than the default tty interface.Testing the changes
Local build testing