diff options
Diffstat (limited to 'src/events.rs')
| -rw-r--r-- | src/events.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/events.rs b/src/events.rs index 90a65957..4416d00d 100644 --- a/src/events.rs +++ b/src/events.rs @@ -3,6 +3,8 @@ //! Background tasks (PTY child watchers, future hook listeners, etc.) send //! events to the main loop through this channel. No polling needed. +use std::time::Instant; + use crate::detect::{Agent, AgentState}; use crate::layout::PaneId; use crate::workspace::WorkspaceGitStatus; @@ -30,6 +32,11 @@ pub enum AppEvent { pane_id: PaneId, agent: Option<Agent>, state: AgentState, + visible_blocker: bool, + visible_idle: bool, + visible_working: bool, + process_exited: bool, + observed_at: Instant, }, /// Hook-authoritative agent state was reported for a pane. HookStateReported { |
