git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#35 support emoji in tterminal
[fanfix.git]
/
src
/
jexer
/
backend
/
GlyphMaker.java
diff --git
a/src/jexer/backend/GlyphMaker.java
b/src/jexer/backend/GlyphMaker.java
index 2a6610bbec4c8cedff479a6962b8502757bac874..ef7696974eb32f599391cb17597c0b2a71af6226 100644
(file)
--- a/
src/jexer/backend/GlyphMaker.java
+++ b/
src/jexer/backend/GlyphMaker.java
@@
-413,7
+413,8
@@
public class GlyphMaker {
if ((ch >= 0x2e80) && (ch <= 0x9fff)) {
return makerCjk.getImage(cell, cellWidth, cellHeight, blinkVisible);
}
if ((ch >= 0x2e80) && (ch <= 0x9fff)) {
return makerCjk.getImage(cell, cellWidth, cellHeight, blinkVisible);
}
- if ((ch >= 0x1f004) && (ch <= 0x1f9c0)) {
+ if ((ch >= 0x1f004) && (ch <= 0x1fffd)) {
+ // System.err.println("emoji: " + String.format("0x%x", ch));
return makerEmoji.getImage(cell, cellWidth, cellHeight, blinkVisible);
}
return makerEmoji.getImage(cell, cellWidth, cellHeight, blinkVisible);
}