Revert "Resume repainting command line when colors change"

This reverts commit 313bd558da.

Per discussion in 313bd558da
This commit is contained in:
Peter Ammon 2024-08-25 18:41:31 -07:00
parent 0954ec2596
commit 91ffa8ab48
No known key found for this signature in database

View file

@ -122,11 +122,6 @@ impl VarDispatchTable {
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();
}
}
}