mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
Fix for assertion failure in fish_indent when setting a non-RGB color
This commit is contained in:
parent
04651105a8
commit
77a7dd82a9
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ static std::string ansi_colorize(const wcstring &text, const std::vector<highlig
|
|||
highlight_spec_t color = colors.at(i);
|
||||
if (color != last_color)
|
||||
{
|
||||
write_color(highlight_get_color(color, false), true);
|
||||
set_color(highlight_get_color(color, false), rgb_color_t::normal());
|
||||
last_color = color;
|
||||
}
|
||||
writech(text.at(i));
|
||||
|
|
Loading…
Reference in a new issue