The code to decide whether a unicode codepoint should be rendered double-width
is generated from the Unicode specification.
This is done by using tools/unicode_dbl_width.py
.
- Download https://www.unicode.org/Public/UCD/latest/ucdxml/ucd.all.flat.zip
- Extract it
- Run
tools/unicode_dbl_width.py ucd.all.flat.xml src/bin/termptydbl.h src/bin/termptydbl.c
_ - Commit the files modified