mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-24 03:35:13 +08:00
Make fish_config prompt color changes work more often
Fixes https://github.com/fish-shell/fish-shell/issues/505
This commit is contained in:
parent
91bf41cfce
commit
25081f60c4
@ -136,7 +136,7 @@ static bool term256_support_is_native(void)
|
||||
return max_colors == 256;
|
||||
}
|
||||
|
||||
bool output_get_supports_term256()
|
||||
bool output_get_supports_term256(void)
|
||||
{
|
||||
return support_term256;
|
||||
}
|
||||
|
@ -815,6 +815,7 @@ void reader_repaint_if_needed()
|
||||
|
||||
if (needs_reset)
|
||||
{
|
||||
exec_prompt();
|
||||
s_reset(&data->screen, screen_reset_current_line_and_prompt);
|
||||
data->screen_reset_needed = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user