bazel: Colored output not working anymore in cmd.exe

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.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 37 (22 by maintainers)

Most upvoted comments

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