Expand description
Status line widget for agent harness UIs.
Provides a horizontal status bar with left, center, and right regions that can contain text, spinners, progress indicators, and key hints.
§Example
ⓘ
use ftui_widgets::status_line::{StatusLine, StatusItem};
let status = StatusLine::new()
.left(StatusItem::text("[INSERT]"))
.center(StatusItem::text("file.rs"))
.right(StatusItem::key_hint("^C", "Quit"))
.right(StatusItem::text("Ln 42, Col 10"));Structs§
- Status
Line - A status line widget with left, center, and right regions.
Enums§
- Status
Item - An item that can be displayed in the status line.