mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 21:03:12 +00:00
Stop repainting in C++
We already have a variable handler, there is no need to repaint twice.
This commit is contained in:
parent
a4e2a3c049
commit
ff62d172e5
1 changed files with 0 additions and 5 deletions
|
@ -195,11 +195,6 @@ void env_dispatch_var_change(const wcstring &key, env_stack_t &vars) {
|
|||
if (!s_var_dispatch_table) return;
|
||||
|
||||
s_var_dispatch_table->dispatch(key, vars);
|
||||
|
||||
// Eww.
|
||||
if (string_prefixes_string(L"fish_color_", key)) {
|
||||
reader_schedule_prompt_repaint();
|
||||
}
|
||||
}
|
||||
|
||||
/// Universal variable callback function. This function makes sure the proper events are triggered
|
||||
|
|
Loading…
Reference in a new issue