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.
79 KiB
79 KiB