aboutsummaryrefslogtreecommitdiff
path: root/src/persist/io.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/persist/io.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/persist/io.rs')
-rw-r--r--src/persist/io.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/persist/io.rs b/src/persist/io.rs
index 6f5ed459..b483b264 100644
--- a/src/persist/io.rs
+++ b/src/persist/io.rs
@@ -198,6 +198,7 @@ mod tests {
fn history_snapshot(secret: &str) -> SessionHistorySnapshot {
SessionHistorySnapshot {
version: SNAPSHOT_VERSION,
+ layout_fingerprint: None,
workspaces: vec![WorkspaceHistorySnapshot {
tabs: vec![TabHistorySnapshot {
panes: std::collections::HashMap::from([(