Skip to content

unicode characters offset table content #30

@fennifith

Description

@fennifith

@theonesean placed a horse emoji in our Trello board and it's been staring at me for two days now. I can't handle it anymore. How can I do any work with this thing just... there. Watching me. It's taken over my life. But more relevant to this project, it seems to have offset the entire table, since (despite being a single character) it uses two character spaces when printed to the terminal, so the rest of the row is being pushed over by one char-width.

There seems to be a discussion to add a std.utf.displayWidth function to the Phobos library here which would be immensely useful in this situation, but I can't seem to find out if it has resulted in anything added to Phobos.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions