Skip to content

Chinese characters support issue #243

Open
@ns-cn

Description

My terminal application using github.com/jroimartin/gocui which based on termbox-go, but I found some display issues.

termbox.SetCell(x, y int, ch rune, fg, bg Attribute)

The following issues are caused by setCell with Chinese character.

  • It works well when I tried to input Chinese characters one by one ,but characters overlapped likes this

my input is [中文].

image

  • Some characters disappear when I tried to input more than one Chinese characters , like this

my input is [中文中文].

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions