diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-06 17:45:39 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-06 17:45:39 +0300 |
| commit | 7ec046a4646e94311fced28a193ff1f10676a7a6 (patch) | |
| tree | fd5f49fab133310582291fc4dd8fa31da9243c74 /src/app/state.rs | |
| parent | c1e100be8fa15bc51f3c2e0b1edb38aa95a7cccd (diff) | |
fix: defer new tab creation until dialog confirm
Diffstat (limited to 'src/app/state.rs')
| -rw-r--r-- | src/app/state.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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<String>, 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, |
