Skip to main content

Module dashboard

Module dashboard 

Source
Expand description

lev dash - Interactive terminal UI for managing concurrent agents.

Re-exports§

pub use crate::tui::CrosstermEventSource;
pub use crate::tui::EventSource;
pub use crate::tui::TerminalSetup;

Structs§

DashboardAgent
An agent displayed in the dashboard.
DashboardArgs
Arguments for lev dash. It takes none; the dashboard is interactive.

Enums§

AgentDisplayStatus
Display status for agents in the dashboard.

Functions§

execute_with
Load config, build the dashboard + engine, and run the event loop against the injected TerminalSetup and EventSource. This is the whole lev dash command minus the two real-terminal doubles - so it is fully unit-testable (drive it with TestSetup + a canned TestEventSource), and the binary’s real_dashboard supplies the real crossterm CrosstermSetup
yank_to_clipboard_via
Copy text to the system clipboard (returns true on success), parameterized over the OSC52 fallback so tests can inject a fake that never touches the real TTY. Strategy: native tool (pbcopy/xclip/wl-copy) first, then the injected OSC52 fallback.