mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Fix for recent issue where random text might appear underlined.
This commit is contained in:
parent
bd313b0b3d
commit
8e77aca854
1 changed files with 1 additions and 1 deletions
|
@ -359,7 +359,7 @@ rgb_color_t highlight_get_color(highlight_spec_t highlight, bool is_background)
|
|||
size_t idx = highlight_get_primary(highlight);
|
||||
if (idx >= VAR_COUNT)
|
||||
{
|
||||
idx = 0;
|
||||
return rgb_color_t::normal();
|
||||
}
|
||||
|
||||
env_var_t val_wstr = env_get_string(highlight_var[idx]);
|
||||
|
|
Loading…
Reference in a new issue