aboutsummaryrefslogtreecommitdiff
path: root/src/app/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/state.rs')
-rw-r--r--src/app/state.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app/state.rs b/src/app/state.rs
index d821407b..0321a6ee 100644
--- a/src/app/state.rs
+++ b/src/app/state.rs
@@ -1394,6 +1394,7 @@ pub struct AppState {
pub request_clipboard_write: Option<Vec<u8>>,
pub creating_new_tab: bool,
pub requested_new_tab_name: Option<String>,
+ pub pending_workspace_create_cwd: Option<std::path::PathBuf>,
pub rename_pane_target: Option<PaneId>,
pub worktree_create: Option<WorktreeCreateState>,
pub worktree_open: Option<WorktreeOpenState>,
@@ -1461,6 +1462,7 @@ pub struct AppState {
pub mouse_scroll_lines: usize,
pub confirm_close: bool,
pub prompt_new_tab_name: bool,
+ pub prompt_new_workspace_name: bool,
pub pane_borders: bool,
pub pane_gaps: bool,
pub show_agent_labels_on_pane_borders: bool,
@@ -1760,6 +1762,7 @@ impl AppState {
request_clipboard_write: None,
creating_new_tab: false,
requested_new_tab_name: None,
+ pending_workspace_create_cwd: None,
rename_pane_target: None,
worktree_create: None,
worktree_open: None,
@@ -1834,6 +1837,7 @@ impl AppState {
mouse_scroll_lines: crate::config::DEFAULT_MOUSE_SCROLL_LINES,
confirm_close: true,
prompt_new_tab_name: true,
+ prompt_new_workspace_name: false,
pane_borders: true,
pane_gaps: false,
show_agent_labels_on_pane_borders: false,