pub fn render(
items: &[LineItem],
ctx: &DataContext,
terminal_width: u16,
) -> StringExpand description
Render items for ctx within terminal_width cells. Returns the
final line without a trailing newline. Segment render errors go
through crate::lsm_error! so a broken segment always surfaces,
even under LINESMITH_LOG=off — a blank statusline with zero
diagnostic is a bad UX even when the user opted into quiet mode.
Output is unstyled (callers that want theming use
render_with_observers with their own observers).