billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=3880157adcaa68ca389dbd16c948647d9d255701

commit 3880157adcaa68ca389dbd16c948647d9d255701
Author: Boris Faure <[email protected]>
Date:   Wed May 1 11:41:14 2019 +0200

    termptydbl: consider [0x2630, 0x2638] as single width. Closes T7821
---
 src/bin/termptydbl.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/bin/termptydbl.c b/src/bin/termptydbl.c
index 0988593..ee0b467 100644
--- a/src/bin/termptydbl.c
+++ b/src/bin/termptydbl.c
@@ -24,7 +24,8 @@ _termpty_is_dblwidth_slow_get(const Termpty *ty, int g)
    // [ 0x20D0 ->  0x214F]
    // [ 0x2190 ->  0x23FF]
    // [ 0x2460 ->  0x24FF]
-   // [ 0x2600 ->  0x27EF]
+   // [ 0x2600 ->  0x262F]
+   // [ 0x2638 ->  0x27EF]
    // [ 0x2900 ->  0x29FF]
    // [ 0x2B00 ->  0x2BFF] !!! unicode only 2B55 2B50
    // [ 0x2C60 ->  0x2C7F]
@@ -95,7 +96,8 @@ _termpty_is_dblwidth_slow_get(const Termpty *ty, int g)
             ((g >= 0x20D0) && (g <= 0x214F)) ||
             ((g >= 0x2190) && (g <= 0x23FF)) ||
             ((g >= 0x2460) && (g <= 0x24FF)) ||
-            ((g >= 0x2600) && (g <= 0x27EF)) ||
+            ((g >= 0x2600) && (g <= 0x262F)) ||
+            ((g >= 0x2638) && (g <= 0x27EF)) ||
             ((g >= 0x2900) && (g <= 0x29FF)) ||
             ((g >= 0x2B50)) ||
             ((g >= 0x2B55)) ||

-- 


Reply via email to