#35 support emoji in tterminal
[fanfix.git] / src / jexer / bits / StringUtils.java
index 26d90a400577bf663f0b4550d1429de628c68b01..12a13908bb16cf10c0b13f291eb0c048eec8b4af 100644 (file)
@@ -450,7 +450,7 @@ public class StringUtils {
                 || ((ch >= 0x20000) && (ch <= 0x2fffd))
                 || ((ch >= 0x30000) && (ch <= 0x3fffd))
                 // emoji
-                || ((ch >= 0x1f004) && (ch <= 0x1f9c0))
+                || ((ch >= 0x1f004) && (ch <= 0x1fffd))
             )
         ) {
             return 2;