-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Enable ANSI colors for Windows 10 and newer #496
Comments
Indeed it would be nice to be able to see coloured output rather than the following in Windows 10:
|
The addition of that code would solve that. What do you think @sirupsen? |
It does solve the issue, I've tested it myself. Tricky things will be making sure this runs only in Windows. Maybe creating a PR would move this faster (thought looking at the PR list, maybe no so much :D) |
Done @ezk84 😄 Let's see what happens. |
Done! Thank you 😄 |
It looks like this issue has been resolved. Closing. |
Continues to be an issue for me, this is what my console looks like:
Using Ubuntu on Windows (in cmd) it seems to work, just not in a standard cmd window. |
I just checked the code and they removed what I have added. Check this: https://github.com/sirupsen/logrus#formatters |
Indeed, commit e66f229 seems to be where it was removed.
Then setting |
yes, this issue +1, |
Hey!
I've been reading a bit about Windows CMD and Virtual Processing. This code bellow is enough to make ANSI work on Windows 10 and newer:
More information about it here: https://msdn.microsoft.com/en-us/library/windows/desktop/ms686033(v=vs.85).aspx
It would be interesting to add!
The text was updated successfully, but these errors were encountered: