mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 19:53:36 +08:00
Fix for recent issue where random text might appear underlined.
This commit is contained in:
parent
bd313b0b3d
commit
8e77aca854
|
@ -359,7 +359,7 @@ rgb_color_t highlight_get_color(highlight_spec_t highlight, bool is_background)
|
||||||
size_t idx = highlight_get_primary(highlight);
|
size_t idx = highlight_get_primary(highlight);
|
||||||
if (idx >= VAR_COUNT)
|
if (idx >= VAR_COUNT)
|
||||||
{
|
{
|
||||||
idx = 0;
|
return rgb_color_t::normal();
|
||||||
}
|
}
|
||||||
|
|
||||||
env_var_t val_wstr = env_get_string(highlight_var[idx]);
|
env_var_t val_wstr = env_get_string(highlight_var[idx]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user