aboutsummaryrefslogtreecommitdiff
path: root/src/events.rs
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-07 16:14:46 +0300
committerGitHub <noreply@github.com>2026-09-07 15:14:46 +0200
commite7d8220788b4fa7c266a1e4457591b694478771c (patch)
tree272303d74e0b58c11f9c0c434dae8335d3d06703 /src/events.rs
parent482818130407691154d1635d4029b95d0e730104 (diff)
fix: preserve sessions after interrupted pane exits (#3418)
* fix: preserve sessions when pane shells are signaled refs #3415 * fix: preserve shutdown checkpoints across platforms refs #3415 --------- Co-authored-by: Jonathan Liebig <jonathan.liebig@gmail.com>
Diffstat (limited to 'src/events.rs')
-rw-r--r--src/events.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/events.rs b/src/events.rs
index 2901e493..95638991 100644
--- a/src/events.rs
+++ b/src/events.rs
@@ -56,7 +56,10 @@ pub struct WorktreeRemoveResult {
#[derive(Debug)]
pub enum AppEvent {
/// A pane's child process exited.
- PaneDied { pane_id: PaneId },
+ PaneDied {
+ pane_id: PaneId,
+ exit_reason: crate::platform::ChildExitReason,
+ },
/// A worktree-removal runtime could not be restored normally.
WorktreeRuntimeRestoreFailed { pane_id: PaneId, operation_id: u64 },
/// Process detection identified an agent before its screen state was confirmed.