aboutsummaryrefslogtreecommitdiff
path: root/src/app/creation.rs
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-21 00:29:45 +0300
committerGitHub <noreply@github.com>2026-09-21 00:29:45 +0300
commit0ff0f27e222633c97ba4291f6b9be4137002ca84 (patch)
tree97ee77c8a85801ab90133492ddd71b3ce635b8fb /src/app/creation.rs
parentf090ce95d05d2e7811869be93f9a23bf4ac2c3af (diff)
fix: preserve session layouts across shutdown and restore failures (#4400)
* fix: preserve session layouts across shutdown and restore failures refs #4320 * test: update subscription fixture for pane restore errors --------- Co-authored-by: JJ Liebig <jonathan.liebig@gmail.com>
Diffstat (limited to 'src/app/creation.rs')
-rw-r--r--src/app/creation.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/creation.rs b/src/app/creation.rs
index af34e540..05736fe5 100644
--- a/src/app/creation.rs
+++ b/src/app/creation.rs
@@ -340,6 +340,7 @@ impl App {
foreground_cwd: ws.tabs[tab_idx]
.foreground_cwd_for_pane(pane_id, &self.terminal_runtimes)
.map(|cwd| cwd.display().to_string()),
+ restore_error: terminal.restore_error.clone(),
label: terminal.manual_label.clone(),
agent: terminal.effective_agent_label().map(str::to_string),
title: presentation.title,