Skip to main content

compact_line

Function compact_line 

Source
pub fn compact_line(report: &Report, history: &[f64], colour: bool) -> String
Expand description

Minimal one-line dashboard for terminals too small for the full frame: period spend, rolling windows, and the burst sparkline inlined when active. No trailing newline — the caller appends its own status line, exactly like watch_frame.