From f7fe0f203e0f349df33819aab239c0aade016f79 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sun, 17 May 2026 01:41:17 +0300 Subject: fix: polish terminal-core agent semantics --- src/app/creation.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/app/creation.rs') 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 { - 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 { @@ -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(), -- cgit v1.2.3