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

Patched symbols not showing #57

Closed
romanhaa opened this issue Mar 7, 2017 · 4 comments
Closed

Patched symbols not showing #57

romanhaa opened this issue Mar 7, 2017 · 4 comments

Comments

@romanhaa
Copy link

romanhaa commented Mar 7, 2017

I'm aware this is an annoying and perhaps minor issue, but I've been googling for multiple hours now without a solution.

Here is what's wrong: The symbols, that if I understood correctly are introduced when patching a font, are not displaying for me. Others, however, work without problem, such as the battery symbol. Please have a look at the screenshot to see what I mean.

https://s9.postimg.org/ki2d54szz/powerline_issue.png

I checked font settings and encoding settings (UTF-8) in iTerm2 (which I'm mainly using). I also tried different patched fonts, including Source Code and Meslo, both show the same behavior. I checked locale, which for some reason is empty but I haven't been able to define it permanently. Don't know if that's important. I'm sure I've tried other things but forgot about it since they also didn't fix the problem.

Any what it could be or how to narrow the source down? I didn't run into this issue with the tmux-powerline repository maintained by erikw, which is why I suspect it's the config, but I don't know enough about it to be sure.

@gpakosz
Copy link
Owner

gpakosz commented Mar 7, 2017

Did you copy ~/.tmux.conf.local to ~/.tmux.local then edit your ~/.tmux.conf.local copy to enable the powerline symbols?

These are the lines you should uncomment.

#tmux_conf_theme_left_separator_main=''  # /!\ you don't need to install powerline
#tmux_conf_theme_left_separator_sub=''   #   you only need fonts patched with
#tmux_conf_theme_right_separator_main='' #   powerline symbols or the standalone
#tmux_conf_theme_right_separator_sub=''  #   PowerlineSymbols.otf font

@romanhaa
Copy link
Author

romanhaa commented Mar 7, 2017

Ok, that was embarrassing: The lines you posted were commented out in my .tmux.conf.local...

Thanks for fixing this so quickly (seriously, that was impressive!). I'm looking forward to using this beautiful tool for a long time :)

@gpakosz
Copy link
Owner

gpakosz commented Mar 7, 2017

No problem

They indeed are commente by default, and users have to uncomment them if they have proper fonts installed.

This is soon going to be the case for Emoji like symbols because with the transition to Unicode 9, programs don't agree on characters' width which is causing breakage.

@gpakosz gpakosz closed this as completed Mar 7, 2017
@romanhaa
Copy link
Author

romanhaa commented Mar 7, 2017

Oh, ok that makes sense then. Anyway, I'll fight my way through the config now to see what else is there to explore. I have to say it is quite magnificent that you managed to get all of this in such little space without the necessity of installing something. Good work!

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

No branches or pull requests

2 participants