Open TheDutchCoder opened 1 month ago
Node: v20.13.0 OS: MacOS Sequoia 15 consola: 3.2.3
consola.box({ title: ' RVezy Nuxt tools' , message: ` Tools and commands for a better Developer Experience `, style: { padding: 1, borderColor: "cyan", }, }); // Outputs // ╭─────────────────── RVezy Nuxt tools ─────────────────────╮ // │ │ // │ Tools and commands for a better Developer Experience │ // │ │ // ╰──────────────────────────────────────────────────────────╯
However
consola.box({ title: ` ${colors.blue('RVezy')} ${colors.cyan('Nuxt')} ${colors.blue('tools')} `, message: ` ${colors.blue('Tools')} and ${colors.blue('commands')} for a better Developer Experience`, style: { padding: 1, borderColor: "cyan", }, }); // Outputs // ╭──────────────────────────── RVezy Nuxt tools ───────────────────────────────╮ // │ │ // │ Tools and commands for a better Developer Experience │ // │ │ // ╰─────────────────────────────────────────────────────────────────────────────╯
When using colors in the body part of a box, it adds a lot of padding at the end.
colors
No response
Environment
Node: v20.13.0 OS: MacOS Sequoia 15 consola: 3.2.3
Reproduction
However
Describe the bug
When using
colors
in the body part of a box, it adds a lot of padding at the end.Additional context
No response
Logs
No response