aboutsummaryrefslogtreecommitdiff
path: root/src/app/runtime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/runtime.rs')
-rw-r--r--src/app/runtime.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/runtime.rs b/src/app/runtime.rs
index 4d2f6c47..98ae4e0e 100644
--- a/src/app/runtime.rs
+++ b/src/app/runtime.rs
@@ -198,12 +198,12 @@ impl App {
.state
.active
.and_then(|idx| self.state.workspaces.get(idx))
- .is_some_and(Workspace::has_working_pane),
+ .is_some_and(|ws| ws.has_working_pane(&self.state.terminals)),
crate::app::state::AgentPanelScope::AllWorkspaces => self
.state
.workspaces
.iter()
- .any(Workspace::has_working_pane),
+ .any(|ws| ws.has_working_pane(&self.state.terminals)),
}
}