aboutsummaryrefslogtreecommitdiff
path: root/src/app/creation.rs
diff options
context:
space:
mode:
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,