Widens a column to fit its widest cell
All 4 scenarios hold
The formatter measures a width in terminal display columns, not in characters. See the Display width feature. The header counts as a cell like any other. The column separator is not part of the width.
expected outcome
broken scenario
| Scenario | Cells in column | Width? |
|---|---|---|
| Cells of differing lengths |
| 4 |
| A header longer than its data |
| 5 |
| An empty cell among the values |
| 7 |
| Two-column glyphs |
| 6 |