pub fn render_tick(
metrics: &TuiMetrics,
last_total: &mut usize,
sparkline_ring: &mut [usize; 60],
spark_cursor: &mut usize,
) -> StringExpand description
Performs one tick of the TUI dashboard, returning the ANSI-formatted frame.
This function is extracted from the render loop for testability.