You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working with characters that occupy more than one cell, you have to handle it yourself. There are handy libs like: https://github.com/mattn/go-runewidth, which can help you with that. Sadly I don't have much experience with it. There are examples contributed by other people though which use runewidth lib:
My terminal application using github.com/jroimartin/gocui which based on
termbox-go
, but I found some display issues.The following issues are caused by setCell with Chinese character.
The text was updated successfully, but these errors were encountered: