(s: string, width: number)
| 390 | * @internal |
| 391 | */ |
| 392 | const pad = (s: string, width: number) => { |
| 393 | const actualLength = visualLength(s) |
| 394 | const padding = Math.max(0, width - actualLength) |
| 395 | return s + " ".repeat(padding) |
| 396 | } |
| 397 | |
| 398 | /** |
| 399 | * Interface for table rows with left and right columns. |
no test coverage detected