diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-08-01 04:27:50 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-01 04:27:50 +0300 |
| commit | b76adc155d979705a353fd6dc87c702f9dfc6c22 (patch) | |
| tree | f613254e0cfbfd2b4450a6a5f3ee7c0ba8136976 /src/app/popup.rs | |
| parent | 8d190eddda2c74afa3dc043f8ec8020ffd7b5a94 (diff) | |
fix(input): preserve native key lifecycle across routing (#2142)
refs #2077
Co-authored-by: Jonathan Liebig <jonathan.liebig@gmail.com>
Diffstat (limited to 'src/app/popup.rs')
| -rw-r--r-- | src/app/popup.rs | 4 |
1 files changed, 1 insertions, 3 deletions
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 { |
