[Bug]Xshell color scheme fallback to default color [1]
[Bug]Xshell color scheme fallback to default color
Monday, September 3, 2018 2:31 AM - yusiwen
I've found a color scheme of Xshell 6:
Select any color scheme other than the default in Xshell. In the example below, I chose the Black & White color scheme, which shall not show any color other than black and white.
1. Run the command below:
echo '\033[0;31mRRRR\033[0m;'
this will show the text 'RRRR' in ANSI color #1(whose name is RED). The result is correct since the RED color in this color scheme is defined as black. see attachment right.png
2. Then, run the command below:
echo '\033[38;5;1mRRRR\033[0m;'
this will show the text 'RRRR' in ANSI color #1(in 256-colors palette). This color is the same color as '\033[0;31m' it should be black. But actually it rendered as in the default color scheme, it shows red. See attachment 2: wrong.png
Program Ver. : Xshell 6
Select any color scheme other than the default in Xshell. In the example below, I chose the Black & White color scheme, which shall not show any color other than black and white.
1. Run the command below:
echo '\033[0;31mRRRR\033[0m;'
this will show the text 'RRRR' in ANSI color #1(whose name is RED). The result is correct since the RED color in this color scheme is defined as black. see attachment right.png
2. Then, run the command below:
echo '\033[38;5;1mRRRR\033[0m;'
this will show the text 'RRRR' in ANSI color #1(in 256-colors palette). This color is the same color as '\033[0;31m' it should be black. But actually it rendered as in the default color scheme, it shows red. See attachment 2: wrong.png
Program Ver. : Xshell 6
Previous views: 237