color 8 wasn't white, it's brblack

Fixes wrong comment.

Pick a better grey shade.
This commit is contained in:
Aaron Gyes 2016-10-03 08:40:28 -07:00
parent 40a83e4018
commit 0c23b5652a

View file

@ -1198,11 +1198,11 @@ void s_reset(screen_t *s, screen_reset_mode_t mode) {
justgrey = false;
}
}
if (justgrey && set_a_foreground && max_colors >= 235) {
if (justgrey && set_a_foreground && max_colors >= 237) {
// Draw the string in grey
abandon_line_string.append(str2wcstring(tparm(set_a_foreground, 235)));
abandon_line_string.append(str2wcstring(tparm(set_a_foreground, 237)));
} else if (justgrey && set_a_foreground && max_colors >= 8) {
// Draw the string in white.
// Draw the string in bright black.
abandon_line_string.append(str2wcstring(tparm(set_a_foreground, 8)));
}