#402·consola

Using emoji breaks `consola.box`

Author: jameslawsonCreated Oct 29, 2025Updated Mar 4, 2026
Labelsbug

Environment

Node v22 Consola: v3.4.2

Reproduction

Steps: call console.box with a string containing an emoji

Describe the bug

Image

Using an emoji causes the right edge of the box to become misaligned (see screenshot).

Expect behaviour: box edges are aligned Actual behaviour: the line containing the emoji has its right edge are misaligned

Additional context

No response

Logs

bash