-
-
Notifications
You must be signed in to change notification settings - Fork 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
cli: Color on windows doesn't work #3068
Comments
thanks for reporting, The output in the colored.txt matches what i get from ipfs on a linux box. Could you try doing |
Apparently, the windows terminal only accepts ANSI escape codes with a specific flag enabled: |
Referencing old duplicate: |
Since go-log is using a modified version of go-logging, maybe we can update the customized version with the changes in op/go-logging#110 once the PR for it is merged. edit: it looks like the op/go-logging repo may not be active, so maybe waiting for the changes to be merged upstream isn't a good option. |
Resolved in: #5007 |
Version/Platform/Processor information:
go-ipfs version: 0.4.3-rc2-
Repo version: 4
System version: amd64/windows
Golang version: go1.6.2
Type: bug
Area: commands/logging/cli
Priority: P1
Description:
The ipfs tool on windows doesn't display colors properly, even though the default cmd.exe supports ANSI escape codes with no problem.
Example daemon error message:
Windows colors demonstration:
The text was updated successfully, but these errors were encountered: