Hi all,
While working on colors and prompts I noticed that gray and grey
do not work in a prompt. But in the colors function it states:
# This is inaccurate, but the prompt theme system needs it.
for k in grey gray; do
color[$k]=${color[black]}
color[fg-$k]=${color[$k]}
color[bg-$k]=${color[bg-black]}
done
Also wondering, since bright colors were added to colors, were they also
going to be included in prompts? That said, my $0.02 - I'm happy that all
16 colors are there in numbers 0 thru 15 and works as expected.
Is there any reason gray and grey couldn't be set correctly by using \e[38;5;8m
and \e[48;5;8m? Just a thought. Even the linux console supports all 16 colors.
it just doesn't support bold.
ZSH_PATCHLEVEL zsh-5.9-208-gf80ad32
Attached is a function I wrote "test_prompt_output.txt", and two png files
prompt_test_on_black_bg.png
prompt_test_on_white_bg.png
Regards,
Jim Murphy