From bf9cc201244946496b4d950046bf7edcc4892994 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Thu, 28 May 2026 04:11:56 +0300 Subject: fix: preserve live handoff terminal state --- src/app/api/tabs.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/app/api/tabs.rs') diff --git a/src/app/api/tabs.rs b/src/app/api/tabs.rs index 0344fcea..f605d143 100644 --- a/src/app/api/tabs.rs +++ b/src/app/api/tabs.rs @@ -93,6 +93,9 @@ impl App { Ok((tab_idx, terminal, runtime)) => { self.terminal_runtimes.insert(terminal.id.clone(), runtime); self.state.terminals.insert(terminal.id.clone(), terminal); + self.state.remove_alias_shadowed_by_new_pane( + self.state.workspaces[ws_idx].tabs[tab_idx].root_pane, + ); if let Some(label) = label { let workspace_id = self.state.workspaces[ws_idx].id.clone(); let tab_id = self -- cgit v1.2.3