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

command line output - colors on windows #137

Closed
shivakumargn opened this issue May 27, 2013 · 3 comments
Closed

command line output - colors on windows #137

shivakumargn opened this issue May 27, 2013 · 3 comments

Comments

@shivakumargn
Copy link

The escape sequences are output as is on windows:

D:> go run hello.go
2013/05/27 06:03:19 web.go serving 0.0.0.0:9999
2013/05/27 06:03:21 ?[32;1mGET /?[0m
2013/05/27 06:03:21 ?[32;1mGET /favicon.ico?[0m
exit status 2

hint: I do not know how to get it right but did notice that "npm install" gets this right on windows console.

@hoisie
Copy link
Owner

hoisie commented Jun 29, 2013

What are you using on Windows? Msys, cygwin, or plain cmd.exe?

@shivakumargn
Copy link
Author

Plain cmd.exe

For serious use, the logs are mostly written into a file instead of using stdout. Isn't one better off without coloring.

@hoisie
Copy link
Owner

hoisie commented Aug 8, 2016

You can disable colored output now. Just use web.Config.ColorOutput = false

@hoisie hoisie closed this as completed Aug 8, 2016
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

Successfully merging a pull request may close this issue.

2 participants