mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08: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
@ -1198,11 +1198,11 @@ void s_reset(screen_t *s, screen_reset_mode_t mode) {
|
|||||||
justgrey = false;
|
justgrey = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (justgrey && set_a_foreground && max_colors >= 235) {
|
if (justgrey && set_a_foreground && max_colors >= 237) {
|
||||||
// Draw the string in grey
|
// 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) {
|
} 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)));
|
abandon_line_string.append(str2wcstring(tparm(set_a_foreground, 8)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user