Terminus
Terminus copied to clipboard
Powerline promt glyphs and colors issue
Hi. First of all a big thanks for bringing this plugin to ST. Very convenient. I'm running into a small cosmetic issue with the setup though.
Machine: MacOS Shell: ZSH Particulars: oh-my-zsh with Powerline10k
Specifically I'm having trouble with:
- Colors of the prompt not reflecting what is set through terminus settings
theme_colors
. - Glyphs not being entirely correctly displayed.
Below is an illustration of the problem. Left hand column has the ST Terminus terminal up. Below it is the iTerm equivalent one. Second and Third columns show the config files of Terminus and ST respectively.

Is there any way to get more control over the colors of the prompt from within Terminus? It looks like whatever I've set in the terminus theme_colors
is being ignored. Are there more settings that I should be looking at?
Second issue, is the glyphs. I've seen this happen a long time ago in a VisualStudio release (see this gh issue). Is this something that Terminus could resolve for, assuming it's similar in cause?
If it matters, below are the specifics of the font in question.
DejaVu Sans Mono Nerd Font Complete Mono.ttf:
Kind: TrueType
Valid: Yes
Enabled: Yes
Location: /Users/XXXXXX/Library/Fonts/DejaVu Sans Mono Nerd Font Complete Mono.ttf
Typefaces:
DejaVuSansMonoNerdFontCompleteM-Book:
Full Name: DejaVu Sans Mono Nerd Font Complete Mono
Family: DejaVuSansMono Nerd Font Mono
Style: Book
Version: Version 2.37
Vendor: DejaVu fonts team
Unique Name: DejaVu Sans Mono
Hey @AlfredJKwack,
Here is how my Terminus and iTerm look.
First, configure your Powerlevel10 at https://github.com/romkatv/powerlevel10k#configuration
Then add need to go into your ~/.zshrc:
ZSH_THEME="powerlevel10k/powerlevel10k"
Hi @Afrowave,
My ~/.zshrc has the same line in there as would be expected since the iTerm and Terminus both show the p10k configured prompt. The oddity is the glyphs as well as the color not being the same.
Could you post your Terminus config? I'd be interested in which font you're using as well (and what your config line in ST for it is). Since there's icons in there I'm assuming you have one of the patched Nerd fonts set up.
Here goes for Terminus:
{
"theme": "cobalt2",
"view_settings": {
"font_face": "Droid Sans Mono Nerd Font Complete",
},
"256color": true,
...
}
For Sublime Text:
{
"color_scheme": "Packages/Oceanic Next Color Scheme/Oceanic Next.tmTheme",
"theme": "Cobalt2.sublime-theme",
"font_face": "Victor Mono Regular",
...
}
Hi,
Thanks @Afrowave. I tried those out, that didn't have any real effect on the glyphs.

Besides. Your own screenshots show the same issue, albeit less visibly. Here's a zoomed copy.

Both my questions remain. How can I get color to be consistent between iTerm and Terminus? Is there somthing that can be done about the glyphs rendering?
I did a bit more digging through the issues in this repo to see if there are areas that are already flagged .
There are more things at play here than I initially thought.
- Background colour of the prompt inconsistency between iTerm and Terminus can be attributed to 8bit vs 24bit color support. See #191 for reference. Will not be solved.
- Bold fonts are not supported hence the "badsoda" portion of the prompt will never be identical. See #308 for reference. Will not be solved.
- Background colour for certain elements reverting to white. In my case those are the ones that also happen to be bold as seen in the prompt itself and the
ls
in my first screenshot. I have not found any reference in this repo concerning that at this at this point. Any guidance to track this down would be appreciated @randy3k. What do I need to supply to isolate it? - Glyphs spacing may be a side-effect of iTerm vs Terminus not treating glyphs exactly the same way. A similar issue is described in another Terminal emulator called foot (see their issue for ref) May not be solved @randy3k, would love to hear your views on this.
I think that about covers it.
Well done @AlfredJKwack,
I have added font_size
and "unix_term": "xterm-256color"
until I was relatively happy with it. I settled on what it looks like. Once I am through with squeezing all the juice out of Terminus, I might revisit the "looks".
You have definitely gone further than I did.