and ansi colours


Recently, ansi colours haven’t been working for me (using the git bash shell in VSCode). I thought it might be VSCode, but I’m starting to wonder if it’s Julia (I’m using 1.6.3). I think it might be related to

$ julia -e 'println("\33[1;31mhello\33[0m")'

(where the “hello” is in red)


$ julia -e 'run(`true`); println("\33[1;31mhello\33[0m")'

It seems to be Julia, rather than git bash or VSCode which I originally suspected, because:

$ python -c "import os; os.system('true'); print('\33[1;31mhello\33[0m')"

where, again, “hello” is in red.

Any ideas what I might be doing wrong? I couldn’t find any previous mention of the issue here or on github. Thanks!