From 7ec046a4646e94311fced28a193ff1f10676a7a6 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Mon, 6 Apr 2026 17:45:39 +0300 Subject: fix: defer new tab creation until dialog confirm --- src/app/state.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/app/state.rs') diff --git a/src/app/state.rs b/src/app/state.rs index 9f2e8e5b..74daeeb8 100644 --- a/src/app/state.rs +++ b/src/app/state.rs @@ -558,6 +558,8 @@ pub struct AppState { pub should_quit: bool, pub request_new_workspace: bool, pub request_new_tab: bool, + pub creating_new_tab: bool, + pub requested_new_tab_name: Option, pub request_complete_onboarding: bool, pub name_input: String, pub name_input_replace_on_type: bool, @@ -657,6 +659,8 @@ impl AppState { should_quit: false, request_new_workspace: false, request_new_tab: false, + creating_new_tab: false, + requested_new_tab_name: None, request_complete_onboarding: false, name_input: String::new(), name_input_replace_on_type: false, -- cgit v1.2.3