curses: remove unnecessary special handling for dark gray
On terminals with at least 16 colors there should be no need for special handling dark gray. The curses code uses COLORS < 16, COLORS <= 16, COLORS > 16, or COLORS >= 16 at several places although I'm not sure if they are correct or which could possibly be off-by-one errors. But realistically in this case, we only need to distinguish between 8 color terminals and terminals supporting more than 8 colors as this will mean the terminal supports at least 256 colors.
This commit is contained in:
@@ -748,6 +748,7 @@ curses: for vertical status, line up conditions in columns; usually two but
|
||||
used to align entries in their columns--that's a feature...]
|
||||
curses: indent items in perm_invent window by one space
|
||||
curses: don't change the terminal's default colors
|
||||
curses: remove unnecessary special handling for dark gray
|
||||
macOS: Xcode project was failing to build if the path to the NetHack source
|
||||
tree contained a space; the issue was within some shell script code
|
||||
contained within the project
|
||||
|
||||
Reference in New Issue
Block a user