jquast / wcwidth

Python library that measures the width of unicode strings rendered to a terminal
Other
393 stars 58 forks source link

Bugfix accounting for Variation Selector 16 #97

Closed jquast closed 10 months ago

jquast commented 10 months ago

Closes #96

Note: A single "9.0.0" version is used because of ambiguity in legacy releases of the emoji variation sequences files. So ambiguous, that very few terminals get it right! Details are documented in update-tables.py and I will share results from 'ucs-detect' project shortly.

I believe that U+FE0F is something of a "fixup" for early emojis. I don't expect any new U+FE0F sequences to be published, no changes since release 10.0

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Files Coverage Δ
wcwidth/table_vs16.py 100.00% <100.00%> (ø)
wcwidth/wcwidth.py 100.00% <100.00%> (ø)

:loudspeaker: Thoughts on this report? Let us know!

jquast commented 10 months ago

This is tested with experimental branch of ucs-detect, sharing draft results shows 100% support for VS-16 as implemented in this branch, for ExtraTermQt, kitty, and zoc, while 91% support in iTerm2 and 88% in cool-retro-term, I think those two are in the area of ambiguity I have documented about.

jquast commented 10 months ago

Testing results published for this branch at URL https://ucs-detect.readthedocs.io/results.html

7 of 25 Terminals have VS-16 support: Konsole, iTerm2, Kovid Goyle's kitty, Terminal.exe, Zoc, ExtratermQt, and cool-retro-term and 2 have partial support, cmd.exe and ConsoleZ