diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-17 01:41:17 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-17 01:41:17 +0300 |
| commit | f7fe0f203e0f349df33819aab239c0aade016f79 (patch) | |
| tree | 51540d4a040a1a2d32ecf73c5c2d9277a7d4efef /src/app/creation.rs | |
| parent | 3ecacfddae86d603bfd0d1a0c01602b1d34b1df3 (diff) | |
fix: polish terminal-core agent semantics
Diffstat (limited to 'src/app/creation.rs')
| -rw-r--r-- | src/app/creation.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/app/creation.rs b/src/app/creation.rs index 1832e637..f1638e15 100644 --- a/src/app/creation.rs +++ b/src/app/creation.rs @@ -8,7 +8,10 @@ use crate::workspace::Workspace; impl App { pub(super) fn seed_cwd_from_workspace(&self, ws_idx: usize) -> Option<std::path::PathBuf> { - self.state.workspaces.get(ws_idx)?.resolved_identity_cwd() + self.state + .workspaces + .get(ws_idx)? + .resolved_identity_cwd_from(&self.state.terminals, &self.state.terminal_runtimes) } pub(super) fn workspace_creation_source(&self) -> Option<usize> { @@ -294,7 +297,7 @@ impl App { crate::api::schema::WorkspaceInfo { workspace_id: self.public_workspace_id(index), number: index + 1, - label: ws.display_name(), + label: ws.display_name_from(&self.state.terminals, &self.state.terminal_runtimes), focused: self.state.active == Some(index), pane_count: ws.public_pane_numbers.len(), tab_count: ws.tabs.len(), |
