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

Rendering random square glyph on Ubuntu 16.10 #365

Closed
chopfitzroy opened this issue Jan 27, 2017 · 11 comments
Closed

Rendering random square glyph on Ubuntu 16.10 #365

chopfitzroy opened this issue Jan 27, 2017 · 11 comments

Comments

@chopfitzroy
Copy link

I have a terminal theme that is working fine on Xfce Terminal but rendering with an odd square glyph on alacritty like so:

Xfce Terminal:
selection_002

Alacritty Terminal:
selection_003

Please let me know if this is caused by something else I am assuming it is alacritty simply because it works in another terminal but my knowledge of fonts/glyphs is pretty limited.

Cheers.

@jwilm
Copy link
Contributor

jwilm commented Jan 27, 2017

Hmm that's a bit goofy. Would you mind sharing your PS1? Seems like Alacritty is getting a value for some glyph that Xfce doesn't.

@chopfitzroy
Copy link
Author

Hey, sorry I did a bit of googling but could not figure out what my SP1 was. Could you possibly provide a link with the steps to find it :).

Cheers.

@jwilm
Copy link
Contributor

jwilm commented Jan 27, 2017

If you run env | grep $PS1 it should show up.

@chopfitzroy
Copy link
Author

Hey so I tried that and got no output, the I tried echo $PS1 which returned nothing so I just ran env and have attached the output.

Let me know if there is anything else I can do.
ENV.txt

@dywedir
Copy link
Contributor

dywedir commented Jan 28, 2017

Are you using fish shell? If so, could you please runfish_prompt > prompt.txt and attach it?

@jwilm
Copy link
Contributor

jwilm commented Jan 28, 2017

@CrashyBang

Oh my gosh; I totally brain farted on that grep line earlier. Glad you figured it out though.

@chopfitzroy
Copy link
Author

Have attached fish_prompt.
prompt.txt

@lukaslueg
Copy link
Contributor

Besides color, your prompt is HEAVY CHECK MARK, VARIATION SELECTOR-15, SPACE, TILDE, SPACE. I strongly suspect that VARIATION SELECTOR-15 is the one rendered as a box in Alacritty. If you remove it, things should be fine. Alacritty could be better at handling unicode, though.

@chopfitzroy
Copy link
Author

Hey @lukaslueg I removed the VARIATION SELECTOR-15 and it is all working, I can always revert later when unicode support is better :).

@jwilm should I leave this open awaiting unicode support or close?

@lukaslueg
Copy link
Contributor

I'd suggest to close this in favor of #306

@chopfitzroy
Copy link
Author

Closed in favour of #306.

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

4 participants