squared_border : LineFill(LineFill(Str))
Layout
:= []
Helpers for rendering bordered terminal grids and tables.
rounded_border : LineFill(LineFill(Str))
pretty_border : LineFill(LineFill(Str))
default_row_spacing : RowSpacing
default_spacing : GridSpacing
Convert a flat list into row-major cells.
Convert a flat list into column-major cells.
Truncate or right-pad a string to exactly size bytes.
Draw one bordered row. mx is left/right margin and px is left/right padding.
Estimate column sizes from rows, replacing length outliers with the mean.
Draw a grid with explicit border, margin, and padding settings.
Draw a table with a header separator after the first row.
LineFill : { start : a, base : a, sep : a, end : a }
RowSpacing : { mx : (U64, U64), px : (U64, U64) }