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

Colours do not work on windows 10 cmd console #22

Open
jbx1 opened this issue Mar 30, 2017 · 0 comments
Open

Colours do not work on windows 10 cmd console #22

jbx1 opened this issue Mar 30, 2017 · 0 comments

Comments

@jbx1
Copy link

jbx1 commented Mar 30, 2017

Running the program from a Windows 10 console would output strange characters, which presumably correspond to the ANSI colours. The output displays things like �[4m and �[33m and �[24m etc.

It seems that windows 10 does not handle these well, and there were some breaking changes done in a recent update.

microsoft/WSL#1173

There was also some discussion related to this here:
scala/scala#5663

The simplest option could be to first add an option to disable coloured output.

If there is a way to detect whether the terminal supports colour one could use it to turn coloured output on, but I suspect it is not that trivial. (I would still leave the option to turn it off explicitly anyway for those who do not want colours.)

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