From a36da363f14639085bec91d7a378d6c2eeaa6c58 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sun, 17 May 2026 01:41:16 +0300 Subject: refactor: extract terminal state and runtime from panes --- src/app/theme_sync.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/app/theme_sync.rs') diff --git a/src/app/theme_sync.rs b/src/app/theme_sync.rs index df47f6a3..802725f0 100644 --- a/src/app/theme_sync.rs +++ b/src/app/theme_sync.rs @@ -37,12 +37,8 @@ impl App { return; } - for workspace in &self.state.workspaces { - for tab in &workspace.tabs { - for runtime in tab.runtimes.values() { - runtime.apply_host_terminal_theme(self.state.host_terminal_theme); - } - } + for runtime in self.state.terminal_runtimes.values() { + runtime.apply_host_terminal_theme(self.state.host_terminal_theme); } self.render_dirty.store(true, Ordering::Release); -- cgit v1.2.3