hey kapa, by any chance do you know if there's a w...
# 🤖|ask-kapa
m
Please stand by @bright-policeman-43626 as I search the knowledge base. I normally take about 20 seconds or so. :wave:
---------------------- Yes, there is a way to have colored outputs in Garden Acorn (0.12). If you're using Garden inside tmux, you need to set tmux to use 256 colors. You can do this by adding
set -g default-terminal "screen-256color"
or
set -g default-terminal "tmux-256color"
to your
~/.tmux.conf
file. This should help with the color rendering of your task outputs. Here is the source for your reference: Garden Troubleshooting () However, if you're using a specific terminal color theme like 'solarized-dark', some colorized output might be invisible. A workaround for this is to use
FORCE_COLOR=0
or fork the solarized color theme and use your own with a custom color for "bright black". You can find more details about this issue here (). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
Let me check the knowledge base for you. One moment! :books:
b
@microscopic-river-74022 I'm using zsh, but colors are not appearing when running a
garden run task
I just see red stuff
m
---------------------- If you're experiencing issues with colors not appearing correctly when running a
garden run task
in zsh, it might be due to the terminal color settings. In some cases, certain terminal color themes might cause some colorized output to be invisible or not render correctly. For instance, the 'solarized-dark' theme has been reported to cause such issues. A workaround for this is to use
FORCE_COLOR=0
which can help in rendering the colors correctly. Alternatively, you could adjust your terminal color settings to ensure they are compatible with the color outputs from Garden. Here is the source for your reference: GitHub Issue () If you're using Garden inside tmux, you need to set tmux to use 256 colors. You can do this by adding
set -g default-terminal "screen-256color"
or
set -g default-terminal "tmux-256color"
to your
~/.tmux.conf
file. This should help with the color rendering of your task outputs. Here is the source for your reference: Garden Troubleshooting () Please try these solutions and see if they resolve your issue. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
b
@curved-intern-91221 / @quaint-dress-831 are you familiar with this thing? I'm running my tests with node, but the output of my
tsc && lab
is just converting into white text (when success) and red whenever it fails, is there a way that I could keep the really beautiful colors of this terminal?
q
I'm not familar with this, are you, @curved-intern-91221? Curious why you're still on Acorn and if there's anything that's keeping you on Acorn?
c
I think we just output errors on the
ERROR
log-level which is printed in red. There is an issue that looks relevant: https://github.com/garden-io/garden/issues/2420, and there are 2 workarounds suggested in the comments - to use one of env vars 1.
FORCE_COLOR=0
2.
TERM=dumb
But it's better to try Bonsai instead of Acorn as Tao suggested 🙂 The logging was heavily refactored in 0.13.