question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Colored output not working anymore in cmd.exe

See original GitHub issue

Here’s the output I see when I call bazel-0.5.0-windows-x86_64.exe from cmd.exe:

G:\src\test_projects\bazel_tutorial>bazel build main:hello-world
←[32mINFO: ←[0mLoading complete.  Analyzing...
←[1A←[K←[32mINFO: ←[0mFound 1 target...
←[32m[0 / 3] ←[0mLinking main/hello-world.exe

When I run the same with 0.4.5, it’s working fine. The INFO is green, and the lines are deleted and replaced by the following lines. But in 0.5.0, all the lines are printed one after the other, nothing gets deleted.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:37 (18 by maintainers)

github_iconTop GitHub Comments

1reaction
konstecommented, Nov 28, 2019

Microsoft ends support for Windows 7 on January 14, 2020 which lowers the priority of this issue to practically zero.

0reactions
laszlocsomorcommented, Nov 28, 2019

@konste : Thanks for writing that!

I’ll leave it open though, the bug is not fixed on Windows 7.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows 10 console colors not working (Virtual terminal ...
As for now, I have "fixed" it by replacing the newer cmd_10.0.15063.0 with the older cmd_10.0.10586.0 that I copied from my old system....
Read more >
With tracing, the colored logging output not work on windows ...
With tracing, the colored logging output not work on windows/cmd, but work on powershell? I rewrite my logging support to use tracing:
Read more >
Running a Powershell command in the Windows CMD and ...
When I run this command in Powershell it outputs with colour. (curl wttr.in -UserAgent curl).Content. However when I run the same command in ......
Read more >
Clink v1.4.3 - GitHub Pages
... colored completions. Create the file by running this command at a CMD prompt: ... color.unrecognized, Apply color when the command is not...
Read more >
Introducing the Windows Console Colortool
Applying a color scheme to your defaults · colortool -d [scheme name in schemes/] · Your current window will not be affected but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found