aboutsummaryrefslogtreecommitdiff
path: root/src/app/theme_sync.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/theme_sync.rs')
-rw-r--r--src/app/theme_sync.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app/theme_sync.rs b/src/app/theme_sync.rs
index e4284f69..32716ced 100644
--- a/src/app/theme_sync.rs
+++ b/src/app/theme_sync.rs
@@ -50,6 +50,7 @@ impl App {
}
self.state.host_terminal_appearance = Some(appearance);
self.state.host_terminal_appearance_explicit = explicit;
+ self.apply_host_terminal_appearance_to_panes();
self.refresh_effective_app_theme()
}
@@ -65,6 +66,7 @@ impl App {
}
self.state.host_terminal_appearance = appearance;
self.state.host_terminal_appearance_explicit = explicit;
+ self.apply_host_terminal_appearance_to_panes();
self.refresh_effective_app_theme()
}
@@ -95,6 +97,12 @@ impl App {
true
}
+ fn apply_host_terminal_appearance_to_panes(&self) {
+ for runtime in self.terminal_runtimes.values() {
+ runtime.apply_host_terminal_appearance(self.state.host_terminal_appearance);
+ }
+ }
+
fn apply_host_terminal_theme_to_panes(&self) {
for runtime in self.terminal_runtimes.values() {
runtime.apply_host_terminal_theme(self.state.host_terminal_theme);