Commit Graph

7 Commits

Author SHA1 Message Date
Koichi Murase a6ca0111de *.h: do not use the C reserved identifiers for the include guards 2022-03-07 07:45:56 +09: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
Boris Faure 6f1a2dd452 constify 2017-07-06 21:37:56 +02:00
Boris Faure 9c4167f74f always support double-width 2015-09-19 16:23:41 +02:00
Boris Faure 79034500d3 add header guards 2014-01-12 23:10:40 +01:00
Cedric Bail c1b516f231 terminology: inline the most common case for a small 2% speed up. 2013-10-28 18:54:30 +09:00
Carsten Haitzler 92d58dc532 mouve doublewidth checking to its own file to not "pollute" termpty.c.
also make it more of a tree to minimize compares.



SVN revision: 73787
2012-07-13 06:22:46 +00:00