diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-09-21 00:29:45 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-21 00:29:45 +0300 |
| commit | 0ff0f27e222633c97ba4291f6b9be4137002ca84 (patch) | |
| tree | 97ee77c8a85801ab90133492ddd71b3ce635b8fb /src/terminal/state.rs | |
| parent | f090ce95d05d2e7811869be93f9a23bf4ac2c3af (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/terminal/state.rs')
| -rw-r--r-- | src/terminal/state.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/terminal/state.rs b/src/terminal/state.rs index 7ceaede7..c084b034 100644 --- a/src/terminal/state.rs +++ b/src/terminal/state.rs @@ -148,6 +148,7 @@ pub struct TerminalState { recent_agent_process_exit: Option<RecentAgentProcessExit>, agent_process_acquisition_pending: bool, pub pending_agent_resume_plan: Option<crate::agent_resume::AgentResumePlan>, + pub restore_error: Option<String>, } impl TerminalState { @@ -183,6 +184,7 @@ impl TerminalState { recent_agent_process_exit: None, agent_process_acquisition_pending: false, pending_agent_resume_plan: None, + restore_error: None, } } |
