Skip to main content

render_tick

Function render_tick 

Source
pub fn render_tick(
    metrics: &TuiMetrics,
    last_total: &mut usize,
    sparkline_ring: &mut [usize; 60],
    spark_cursor: &mut usize,
) -> String
Expand description

Performs one tick of the TUI dashboard, returning the ANSI-formatted frame.

This function is extracted from the render loop for testability.