Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is the width of ~ different than on iTerm2? #721

Closed
sunknudsen opened this issue Aug 28, 2019 · 3 comments
Closed

Why is the width of ~ different than on iTerm2? #721

sunknudsen opened this issue Aug 28, 2019 · 3 comments

Comments

@sunknudsen
Copy link

Screen Shot 2019-08-28 at 9 14 20 AM

On https://github.com/denysdovhan/spaceship-prompt/blob/master/docs/Troubleshooting.md#why-doesnt-my-prompt-look-like-the-preview, ~ has the same width as which looks amazing.

I am using iTerm2 and have installed the Fira Code font.

@sunknudsen
Copy link
Author

Ok, found what’s going on... SPACESHIP_CHAR_SYMBOL is set to (Heavy Round-Tipped Rightwards Arrow, unicode U+279C) by default vs (Rightwards Arrow, unicode U+2192) which has the right width. PR in the making.

@ypxio
Copy link

ypxio commented Nov 19, 2019

mine too! I can manage to fix this issue with changing font for non-ASCII text (you can set this in the iTerm preferences under Profiles > Text) and set Menlo as non-ASCII font.

@ypxio
Copy link

ypxio commented Nov 19, 2019

...and of course, also can set manually SPACESHIP_CHAR_SYMBOL to the correct symbol 😀

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

No branches or pull requests

3 participants