mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
Revert "Resume repainting command line when colors change"
This reverts commit313bd558da. Per discussion in313bd558da
This commit is contained in:
@@ -122,11 +122,6 @@ pub fn dispatch(&self, key: &wstr, vars: &EnvStack) {
|
||||
Some(EnvCallback::Anon(anon)) => (anon)(vars),
|
||||
None => (),
|
||||
}
|
||||
// Hack to redraw the prompt and command line when fish_color_* or fish_pager_color_* changes.
|
||||
// This allows the command line to react immediately to color changes in other shells.
|
||||
if key.starts_with("fish_color_") || key.starts_with("fish_pager_color_") {
|
||||
reader_schedule_prompt_repaint();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user