From f090ce95d05d2e7811869be93f9a23bf4ac2c3af Mon Sep 17 00:00:00 2001 From: Eric Yue Date: Mon, 21 Sep 2026 01:33:11 +0800 Subject: fix: confirm closing the last tab in the tui (#4409) * fix: confirm closing the last tab in the tui refs #4379 * docs: clarify last-tab worktree confirmation in translations refs #4379 --------- Co-authored-by: JJ Liebig --- src/client/shell/context_menu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/shell/context_menu.rs') diff --git a/src/client/shell/context_menu.rs b/src/client/shell/context_menu.rs index 96f57178..b57bc843 100644 --- a/src/client/shell/context_menu.rs +++ b/src/client/shell/context_menu.rs @@ -358,7 +358,7 @@ impl ClientShellState { } } ClientContextMenuAction::Close => { - self.push_endpoint_method(Method::TabClose(TabTarget { tab_id }), outcome); + self.request_tab_close(tab_id, outcome); } _ => {} } -- cgit v1.2.3