From 9e302984ccb13a65e3e504fa7692b223f546ff84 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Fri, 29 May 2026 20:38:55 +0300 Subject: feat: expose foreground cwd in pane info refs #345 --- src/app/creation.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/app/creation.rs') diff --git a/src/app/creation.rs b/src/app/creation.rs index d483eb1a..0f63d60d 100644 --- a/src/app/creation.rs +++ b/src/app/creation.rs @@ -288,6 +288,9 @@ impl App { cwd: ws.tabs[tab_idx] .cwd_for_pane(pane_id, &self.state.terminals, &self.terminal_runtimes) .map(|cwd| cwd.display().to_string()), + foreground_cwd: ws.tabs[tab_idx] + .foreground_cwd_for_pane(pane_id, &self.terminal_runtimes) + .map(|cwd| cwd.display().to_string()), label: terminal.manual_label.clone(), agent: terminal.effective_agent_label().map(str::to_string), title: presentation.title, -- cgit v1.2.3