From 278e2871158ecba008ca389dfc557808f37a6635 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Sun, 13 Aug 2023 19:38:48 +0200 Subject: [PATCH] add DEV.md --- DEV.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 DEV.md diff --git a/DEV.md b/DEV.md new file mode 100644 index 00000000..ea1cf1d6 --- /dev/null +++ b/DEV.md @@ -0,0 +1,10 @@ +# Double Width + +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`. + +1. Download +2. Extract it +3. Run `tools/unicode_dbl_width.py ucd.all.flat.xml src/bin/termptydbl.h src/bin/termptydbl.c`_ +4. Commit the files modified