From 91ffa8ab48e121686cbcecfbf1c3dacde9a93b81 Mon Sep 17 00:00:00 2001 From: Peter Ammon Date: Sun, 25 Aug 2024 18:41:31 -0700 Subject: [PATCH] Revert "Resume repainting command line when colors change" This reverts commit 313bd558da62f02995586b17b4265a461a568acc. Per discussion in https://github.com/fish-shell/fish-shell/commit/313bd558da62f02995586b17b4265a461a568acc --- src/env_dispatch.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/env_dispatch.rs b/src/env_dispatch.rs index cd5b7a873..6a63b9bfe 100644 --- a/src/env_dispatch.rs +++ b/src/env_dispatch.rs @@ -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(); - } } }