emoji cause table column width corruption
- Dominant language
- TypeScript
- Stars
- 973
- Forks
- 81
- PR merge metrics
- No merged PRs in 30d
Description
Emojis in cell text cause column width corruption:

`stringWidth` for ie. `24.2⚠️` returns `6`. I am not Unicode expert, but this is most likely related to ZWJ code points and issue in `string-width` dependency: https://github.com/sindresorhus/string-width/issues/2. Since that issue is almost 2 years old, maybe a different module should be used or own approach implemented?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported width calculation for `24.2⚠️` and reviewing the linked `string-width` issue. Determine how the table formatter should measure emoji-containing cell text; done means column widths remain correct for the reported example and related Unicode cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100