Closed mattn closed 9 years ago
Ah, there are more problems. But I don't know termbox-go / godit well. Could you please handle this issue?
As for this patch, yeah, the stuff you've added solves drawing, but not cursor moving logic. I'll fix that as soon as termbox CJK support is added.
edited: On the other hand it should, but again, I'll check that out later. I don't remember how things should be done either. :D
https://github.com/nsf/termbox-go/pull/21
I know runWidth is in also termbox-go. So if you mind this, please move it into some where. And I'll working to add utf8.RuneWidth() into unicode/utf8 after the release of go1.1