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