Skip to content

Chinese character width occupation problem #245

Open
@404name

Description

https://github.com/nsf/termbox-go/blob/master/_demos/hello_world.go

When I change the hello world in the example program to Chinese, it is normal in the terminal that comes with the windows system, but in the cmd of vscode and goland, there is an extra space in the middle of the Chinese that occupies three widths (both used system terminal and utf-8 encoding). I'm very confused about this.

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