diff options
Diffstat (limited to 'src/events.rs')
| -rw-r--r-- | src/events.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/events.rs b/src/events.rs index d17ef60b..2901e493 100644 --- a/src/events.rs +++ b/src/events.rs @@ -37,6 +37,7 @@ pub struct ApiWorktreeRemoveRequest { pub id: String, pub operation_id: u64, pub checkout_key: std::path::PathBuf, + pub shutdown_panes: Vec<crate::layout::PaneId>, pub respond_to: std::sync::mpsc::Sender<String>, } @@ -56,6 +57,8 @@ pub struct WorktreeRemoveResult { pub enum AppEvent { /// A pane's child process exited. PaneDied { pane_id: PaneId }, + /// 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. AgentProcessDetected { pane_id: PaneId, |
