Available on crate feature
cli-tui only.Expand description
Rendering for the live TUI. The ratatui draw call is thin; everything that decides what to show (formatting, column selection under narrow widths, status labels) is a pure function with unit tests.
Enums§
- Column
- A column of the invocation table. Order = display order;
min_widthis the terminal width at which the column is still shown (columns with the highest thresholds drop first on narrow terminals).
Functions§
- draw
- Draw one frame: header, invocation table, log pane, footer.
- format_
bookmark_ age - Age of the last persisted bookmark relative to
now_unix, or-. - format_
count 1234567→1,234,567.- format_
elapsed 1h02m03s/4m05s/12s.- format_
rate - Records/second with a sensible precision ramp.
- row_
status - Status label + color for a row.
- visible_
columns - Which columns fit a terminal of
widthcells. Drops the least essential columns first;row,out, andstatusalways survive.