I started to learn elixir and I successfully made the iex have ansi colors. The problem is that in the terminal in vscode the output looks like garbage:
$ iex
Interactive Elixir (1.8.1) - press Ctrl+C to exit (type h() ENTER for help)
?[G?[36miex>?[0m?[0m
- windows 10 pro
- vscode 1.36.1
- cmder (conemu 161206)
- elixir 1.8.1
When I run git-for-windows' bash from cmder it works well, the colors are good.
When I run the same bash as an integrated terminal in vscode the ansi codes are printed instead of having colors.
I've never had any problem with nodejs, or anything else, only elixir related things fall apart.
This is the same for both, I don't know if it still matters:
$ elixir -e "IO.inspect :io.columns"
{:error, :enotsup}
Does anyone have any idea what does vscode differently that makes the same thing work in a different way?