gajus/table

emoji cause table column width corruption

Open

#67 geöffnet am 9. Mai 2018

Auf GitHub ansehen
 (7 Kommentare) (4 Reaktionen) (0 zugewiesene Personen)TypeScript (81 Forks)github user discovery
bughelp wanted

Repository-Metriken

Stars
 (977 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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