Closed
Description
Problem
Colors are broken in VSCode terminal with MSYS2 shell. For example, rustup show
outputs this:
But, Cargo's colors work fine:
So this isn't an issue on my end afaik.
Steps
- Use Windows, MSYS2, and VSCode terminal
- Use the MSYS2 shell with
"terminal.integrated.shell.windows": "C:\\msys64\\msys2_shell.cmd",
"terminal.integrated.shellArgs.windows": [
"-defterm",
"-no-start",
"-use-full-path",
"-mingw",
"-here"
],
- Run a command which outputs color like
rustup show
Possible Solution(s)
Copy how Cargo is doing colors.
Notes
- Output of
rustup --version
: rustup 1.21.1 (7832b2e 2019-12-20) - Output of
rustup show
: See above. - Output of
echo $TERM
: xterm-256color