Skip to main content

Module status_line

Module status_line 

Source
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§

StatusLine
A status line widget with left, center, and right regions.

Enums§

StatusItem
An item that can be displayed in the status line.