From b76adc155d979705a353fd6dc87c702f9dfc6c22 Mon Sep 17 00:00:00 2001 From: Can Celik Date: Sat, 1 Aug 2026 04:27:50 +0300 Subject: fix(input): preserve native key lifecycle across routing (#2142) refs #2077 Co-authored-by: Jonathan Liebig --- src/app/popup.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/app/popup.rs') diff --git a/src/app/popup.rs b/src/app/popup.rs index 3356ab14..f3d2e459 100644 --- a/src/app/popup.rs +++ b/src/app/popup.rs @@ -26,9 +26,7 @@ impl App { .direct_attach_resize_locks .remove(&popup.terminal_id); self.state.terminals.remove(&popup.terminal_id); - if let Some(runtime) = self.terminal_runtimes.remove(&popup.terminal_id) { - runtime.shutdown(); - } + self.shutdown_terminal_runtime(popup.terminal_id); self.state.mode = if self.state.active.is_some() { Mode::Terminal } else { -- cgit v1.2.3