Commit Graph

4 Commits

Author SHA1 Message Date
Boris Faure d3c15c59db
termptydbl: be strict on what is wide and do not try to be smart.
Too bad if ❤ is considered single-width
2020-08-05 23:05:47 +02:00
Boris Faure 98ee7bdcca
termptydbl: be more precise on emoji as double-width
+ set all of "Misc_Pictographs" as double-width
2020-07-15 22:10:55 +02:00
Boris Faure 7d1536c8e9
tools/unicode_dbl_width: do not redefine range 2020-07-06 19:40:20 +02:00
Boris Faure 8c970b8804
termptydbl: generate the exact double width test
This based on unicode 13.0:
https://www.unicode.org/reports/tr44/

Code is generated by tools/unicode_dbl_width.py

I'm using switch-case + fall through as I've found it was the best:
f46d550a8b
2020-07-05 23:34:13 +02:00