dbl chars - another range with only some emoji to be doubled

This commit is contained in:
Carsten Haitzler 2019-04-23 12:12:02 +01:00
parent ce61d0c648
commit 208e877e8f
1 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,7 @@ _termpty_is_dblwidth_slow_get(const Termpty *ty, int g)
// [ 0x2460 -> 0x24FF]
// [ 0x2600 -> 0x27EF]
// [ 0x2900 -> 0x29FF]
// [ 0x2B00 -> 0x2BFF]
// [ 0x2B00 -> 0x2BFF] !!! unicode only 2B55 2B50
// [ 0x2C60 -> 0x2C7F]
// [ 0x2E00 -> 0x2E7F]
// [ 0x3000 -> 0x303F]
@ -97,7 +97,8 @@ _termpty_is_dblwidth_slow_get(const Termpty *ty, int g)
((g >= 0x2460) && (g <= 0x24FF)) ||
((g >= 0x2600) && (g <= 0x27EF)) ||
((g >= 0x2900) && (g <= 0x29FF)) ||
((g >= 0x2B00) && (g <= 0x2BFF)) ||
((g >= 0x2B50)) ||
((g >= 0x2B55)) ||
((g >= 0x2C60) && (g <= 0x2C7F)) ||
((g >= 0x2E00) && (g <= 0x2E7F)) ||
((g >= 0x3000) && (g <= 0x303F)) ||