Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No colors when running the example #176

Open
andreas-hakansson-ingka opened this issue Mar 3, 2023 · 1 comment
Open

No colors when running the example #176

andreas-hakansson-ingka opened this issue Mar 3, 2023 · 1 comment

Comments

@andreas-hakansson-ingka
Copy link

Hi,

I just did the same as described in #82 and I also do not see any colors. I'm running iTerm2 Build 3.4.19 together with oh-my-zsh

image

If I run this test, then I can see colors

awk 'BEGIN{
    s="/\\/\\/\\/\\/\\"; s=s s s s s s s s;
    for (colnum = 0; colnum<77; colnum++) {
        r = 255-(colnum*255/76);
        g = (colnum*510/76);
        b = (colnum*255/76);
        if (g>255) g = 510-g;
        printf "\033[48;2;%d;%d;%dm", r,g,b;
        printf "\033[38;2;%d;%d;%dm", 255-r,255-g,255-b;
        printf "%s\033[0m", substr(s,colnum+1,1);
    }
    printf "\n";
}'

image

I've tried setting the following variables

echo $TERM
xterm-256color

echo $COLORTERM
true

echo $CLICOLOR
1

Any advice would be very welcome!

@andreas-hakansson-ingka
Copy link
Author

Oh forgot to mention, if I run some of the bubbletea example, then I also get colors

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant