Skip to content

dual width characters break rendering #1106

@unphased

Description

@unphased

Which operating system does the issue occur on? macOS El Capitan (also seen on High Sierra)

Any time this character gets echoed it messed up spacing and lines. You can just run echo '⚡' or something and it will screw things up. Seems like it gets rendered as a dual width character but not really. Anyway, it's weird. This char appears in my oh-my-zsh gitstatus $RPROMPT.

It also does occur to me that this could be a quirk related to the exact font that i'm using, however iTerm with the same font does not have a problem.

For now I am hacking my omz git status plugin config to switch the char for a different one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions