Skip to main content

Module view

Module view 

Source
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_width is 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
12345671,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 width cells. Drops the least essential columns first; row, out, and status always survive.