JoelOtter / termloop

Terminal-based game engine for Go, built on top of Termbox
Other
1.43k stars 83 forks source link

CJK Text cannot been displayed correctly #46

Open edolphin-ydf opened 6 years ago

edolphin-ydf commented 6 years ago

when using the Text component, if the text string is CJK, eg "你好啊", it will only show "你啊". As far as I understand, this is because CJK need two Cell to render. if what i understand is right, i'll make a pull request to fix this.

JoelOtter commented 6 years ago

I think that's correct. I also think Termbox has a way to deal with this, I'll look into it.