jimeh / tmux-themepack

A pack of various Tmux themes.
1.65k stars 204 forks source link

Old/new powerline characters? #1

Closed jrhorn424 closed 10 years ago

jrhorn424 commented 10 years ago

I'm using the patched version of Source Code Pro from the linked repository. The separator symbols show up fine in vim-ariline. When browsing through the airline docs I noticed a section on "old powerline separators" and characters looked very strange. In fact, they look like this:

screen shot 2013-10-10 at 8 41 00 pm

Which is exactly what I'm faced with using the cyan double tmux theme. Any idea where to go from here?

jimeh commented 10 years ago

Damn, seems my powerline font might be out of date then. I'll have a look today after work :)

jimeh commented 10 years ago

In the meantime, you could try manually editing the cyan theme you're using, to change the arrow characters to ones compatible with the font you're using.

jrhorn424 commented 10 years ago

I will, and I'll let you know next week. Although, it occurred to me it could be because I don't have the powerline plugin installed. Do you? Is it an unexpected dependency? Haven't looked at the theme code yet.

jimeh commented 10 years ago

Ok, so at some point since I downloaded my powerline compatible fonts and originally created these themes around a year ago, the powerline project changed unicode points for the arrow glyths. So I'll be updating all the powerline themes to use the new glyths, as they currently don't work with any of the fonts from the powerline-fonts repo.

And I'll also try to figure out some way to optionally use the old glyths too, as I'm sure I'm not the only one using an older powerline font. In fact, I had to manually patch Menlo with the new powerline font patcher.

P.S. The powerline plugin is not needed at all for the themes :)

jimeh commented 10 years ago

I ended up simply switching to the new unicode points for now. I tried using an environment variable to hold the arrow characters, but variables set with setenv -g in a file sourced with source-file doesn't seem to become available within that file until next time it's sourced.

So for now the themes simply require an up-to-date powerline font.

jrhorn424 commented 10 years ago

Great, thanks!