diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-02 22:08:13 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-02 22:08:13 +0300 |
| commit | 974a48172d5ad8744d6b54de4538391e80346ab6 (patch) | |
| tree | 4d54e256efa229256e7273577ea34ca7a88058f2 /src/app/input/modal.rs | |
| parent | d1471e64834d0c7daf072f11c01c30db35324850 (diff) | |
fix: leave context menu after closing tab
refs #945
Diffstat (limited to 'src/app/input/modal.rs')
| -rw-r--r-- | src/app/input/modal.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/input/modal.rs b/src/app/input/modal.rs index daa84850..31e0aa1e 100644 --- a/src/app/input/modal.rs +++ b/src/app/input/modal.rs @@ -1174,6 +1174,7 @@ impl App { self.focus_workspace_idx_via_api(ws_idx); self.focus_tab_idx_via_api(tab_idx); self.close_active_tab_via_api(); + leave_modal(&mut self.state); } (ContextMenuKind::Pane { pane_id, .. }, Some("Rename pane")) => { open_rename_pane(&mut self.state, pane_id); |
