From 17e2b2b878ca9b8cad60fd26baef549479c13081 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Tue, 7 Jul 2026 01:19:39 +0300 Subject: fix: honor prefix in copy mode refs #681 Based on PR #1092 by @reobin. Co-authored-by: Robin Gagnon --- src/app/api/workspaces.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/app/api/workspaces.rs') diff --git a/src/app/api/workspaces.rs b/src/app/api/workspaces.rs index 19e4f6ae..8899ec44 100644 --- a/src/app/api/workspaces.rs +++ b/src/app/api/workspaces.rs @@ -175,9 +175,7 @@ impl App { .unwrap_or_default(); self.state.selected = index; self.state.close_selected_workspace(); - for pane_id in pane_ids { - self.state.plugin_panes.remove(&pane_id); - } + self.state.remove_plugin_pane_records(pane_ids); self.shutdown_detached_terminal_runtimes(); self.emit_event(EventEnvelope { event: EventKind::WorkspaceClosed, -- cgit v1.2.3