* Generate a horizontal line of specified width
(width: number, left: string, right: string)
| 67 | * Generate a horizontal line of specified width |
| 68 | */ |
| 69 | function horizontalLine(width: number, left: string, right: string): string { |
| 70 | return left + BOX.horizontal.repeat(width - 2) + right; |
| 71 | } |
| 72 | |
| 73 | /** |
| 74 | * Pad or truncate a string to fit a specific width |
no outgoing calls
no test coverage detected