pub trait FrameCapture: Send + Sync {
// Required methods
fn take_captures(&mut self) -> Vec<UxEvent>;
fn has_captures(&self) -> bool;
}Expand description
Abstract interface for capturing rendered output.
Implementations capture frames from either CLI mode (terminal bytes)
or TUI mode (ratatui frame buffers). Both produce the same UxEvent
format for unified replay and export.
Required Methods§
Sourcefn take_captures(&mut self) -> Vec<UxEvent>
fn take_captures(&mut self) -> Vec<UxEvent>
Returns captured events and clears the internal buffer.
Sourcefn has_captures(&self) -> bool
fn has_captures(&self) -> bool
Returns true if any events have been captured.