Open ghost opened 10 years ago
It seems the seperator char code in the powerline.js doesn't correspond to the characters in the patched font file.
If I open the font "Droid Sans Mono for Powerline" using Font Book.app and copy the characters that's supposed to be used for the different separators, and then paste those into the powerline.js it works:
var SYMBOLS = {
'compatible':
{
separator: '\u25b6',
separator_thin: '\u276f'
},
'patched':
{
// separator: '\u2B80',
separator: '',
// separator_thin: '\u2B81',
separator_thin: ''
}
};
Now I get a correct looking prompt:
I'd rather have the correct codes. So if anyone knows how I can find the correct unicode character code for the symbols i this patched font it'd be great.
@mikkelbreum Thanks for helping me figure out this problem. I have three systems and only one of them exhibited this problem which baffled me. Ok, when in Font Book.app, goto Preview>Repertoire or command-2. Find the character you are interested in and hover over it. The unicode character will be listed on the bottom like U+E0B0. Insert the last 4 digits (hex code)
separator: '\u2B80', // change this to \uE0B0
Thanks @akileez
I can't get the poweline prompt to show symbols. Any help appreciated.
I've installed the powerline.js:
I've installed the patched font "Droid Sans Mono for Powerline" and confirmed that it contains the powerline symbols (using Font Book.app).
I've set shell locale, it reports:
In my .bash_profile I have:
but I still get this (in Terminal.app and in iTerm2):