mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
color 8 wasn't white, it's brblack
Fixes wrong comment. Pick a better grey shade.
This commit is contained in:
parent
40a83e4018
commit
0c23b5652a
1 changed files with 3 additions and 3 deletions
|
@ -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)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue