Skip to main content

pad_row

Function pad_row 

Source
pub fn pad_row(
    spans: Vec<Span>,
    width: usize,
    pad_style: CellStyle,
) -> Vec<Span>
Expand description

Pad a row on both sides to reach exactly width columns.

Left pad is min(2), right pad absorbs the remainder. Matches the renderer’s transcript block padding so committed rows align with the live region.