maticzav / ink-table

📐A table component for Ink.
184 stars 32 forks source link

fix: correctly handle arbitrary unicode character widths #283

Open Kenneth-Sills opened 1 month ago

Kenneth-Sills commented 1 month ago

This improves support for emojis and non-latin languages.

I've had to use an older version of string-width, since anything more recent uses ESM and we're not yet compatible with that (see #253).

Closes #249