(tokens_2: Token[] | undefined)
| 100 | |
| 101 | // Get ideal width (full content without wrapping) |
| 102 | function getIdealWidth(tokens_2: Token[] | undefined): number { |
| 103 | return Math.max(stringWidth(getPlainText(tokens_2)), MIN_COLUMN_WIDTH); |
| 104 | } |
| 105 | |
| 106 | // Calculate column widths |
| 107 | // Step 1: Get minimum (longest word) and ideal (full content) widths |
no test coverage detected