pub fn flush_aligned_table_with_width(
rows: &[String],
caps: TerminalCaps,
max_width: usize,
) -> StringExpand description
Width-aware variant. When max_width > 0 and the table can’t fit at its
natural column widths, fall back to a flat key/value record format
(header: cell per line, blank line between rows) so no information is
lost to per-cell truncation. max_width = 0 keeps box-table rendering
at natural widths regardless of size.