(count: number, content: string)
| 44 | const leftSpace = Math.ceil((fillWidth - headerText.length) / 2); |
| 45 | const rightSpace = fillWidth - leftSpace - headerText.length; |
| 46 | const fill = (count: number, content: string) => content.repeat(count); |
| 47 | |
| 48 | Log.info(`┌${fill(fillWidth, '─')}┐`); |
| 49 | Log.info(`│${fill(leftSpace, ' ')}${headerText}${fill(rightSpace, ' ')}│`); |