Closed jaredyam closed 4 years ago
What unicode is that char? I don't have any issues here
@randy3k \u203d โฝ
By the way, did you change "unix_term"
to "xterm-256color"
.
Here is my setting:
and I have tried the code you refers It seems work for me.
Does it my zsh theme's problem? I am using the spaceship
zsh theme, the configs for my indicator using the below codes in zsh:
ZSH_THEME="spaceship"
SPACESHIP_CHAR_SYMBOL=(" \u003f ")
SPACESHIP_CHAR_COLOR_SUCCESS=("#fcd947")
SPACESHIP_CHAR_COLOR_FAILURE=("#f32525")
Why it not works in terminus, can I fix it?
Could you turn on the debug mode and report what you see in the console?
Are these infomation useful?
DEBUG:Terminus:mode: [7, 25], cursor: 0.0
receieved:
[0m[27m[24m[J[1m[0m[1m[36m~[0m[36m[39m[1m [0m
[1m๐๐๐งก๐[0m[1m[38;2;252;217;71m โฝ [0m[38;2;252;217;71m[39m[1m[0m[K[?1h=[?2004h
DEBUG:Terminus:receieved:
[0m[27m[24m[J[1m[0m[1m[36m~[0m[36m[39m[1m [0m
[1m๐๐๐งก๐[0m[1m[38;2;252;217;71m โฝ [0m[38;2;252;217;71m[39m[1m[0m[K[?1h=[?2004h
add 0 line(s) to scroll back history
38;2;252;217;71
is a 24 bit color not 8bit which is not supported in Terminus. I think it is related to color in SPACESHIP_CHAR_COLOR_SUCCESS
and SPACESHIP_CHAR_COLOR_FAILURE
.
Oh, I have changed the color into 8-bit encode which has a very simple encoding, terminus works for now! Thank for your help!
Can more colors be supported in the future? Since I tried some simple colors for testing, it seems that only some very simple colors supported for now (red, yellow, blue...) not 8 bit.
Terminus does support all 8bit colors. Did you find any 8-bit color not working?
In theory, 24bit color could be supported, BUT it will decrease the performance by a lot as we are relying on a hack to display different colors in Sublime Text.
You are true. Actually these colors can be enough, thank for your help again.
An unessential report: This 256 colormap not all works for me. A brave assumption is that just below colors can show successively::
or
// "00": "#000000", // black
// "01": "#cd0000", // red
// "02": "#00cd00", // green
// "03": "#cdcd00", // brown
// "04": "#0000ee", // blue
// "05": "#cd00cd", // magenta
// "06": "#00cdcd", // cyan
// "07": "#e5e5e5", // white
// "08": "#7f7f7f", // light_black
// "09": "#ff0000", // light_red
// "10": "#00ff00", // light_green
// "11": "#ffff00", // light_brown
// "12": "#5c5cff", // light_blue
// "13": "#ff00ff", // light_magenta
// "14": "#00ffff", // light_cyan
// "15": "#ffffff" // light_white
in the terminus setting.
I am not sure what you meant. What is not working for you?
I made a mistake before, the issue has been fixed. The 8-bit color works well.
I am using a colorized Unicode symbol as my terminal indicator, which shows the feedback about the last command. In the terminus shell, the symbol shows ugly with an unexpected white background. Here are the screenshots:
Is this an issue same with #75 ? Can I improve the terminus look without rewriting my terminal's config? [I have tried 256color=true and vscode terminal shows it well.]