aboutsummaryrefslogtreecommitdiff
path: root/src/app/creation.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-29 20:38:55 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-29 20:38:55 +0300
commit9e302984ccb13a65e3e504fa7692b223f546ff84 (patch)
tree52808a27bd82c05f55117ad129137fe3ef46a8cb /src/app/creation.rs
parent77242943ba65a80cbc1180258dd64f06635233f9 (diff)
feat: expose foreground cwd in pane info
refs #345
Diffstat (limited to 'src/app/creation.rs')
-rw-r--r--src/app/creation.rs3
1 files changed, 3 insertions, 0 deletions
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,