diff options
author | Jan Niklas Hasse <jhasse@bixense.com> | 2018-11-05 15:48:31 (GMT) |
---|---|---|
committer | Jan Niklas Hasse <jhasse@bixense.com> | 2018-11-05 15:49:39 (GMT) |
commit | 10e66a153daa7b8ce664948031136ba27e8dfeba (patch) | |
tree | ec5e6f63a7f772f798d400a4d3624591a85625e7 /src/build.cc | |
parent | 0eb7199902ce1566a39caa8f782c417a59095b6a (diff) | |
download | Ninja-10e66a153daa7b8ce664948031136ba27e8dfeba.zip Ninja-10e66a153daa7b8ce664948031136ba27e8dfeba.tar.gz Ninja-10e66a153daa7b8ce664948031136ba27e8dfeba.tar.bz2 |
Do not always strip colored output in verbose mode, fix #1214
Diffstat (limited to 'src/build.cc')
-rw-r--r-- | src/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.cc b/src/build.cc index c24d6a9..9852a50 100644 --- a/src/build.cc +++ b/src/build.cc @@ -169,7 +169,7 @@ void BuildStatus::BuildEdgeFinished(Edge* edge, // thousands of parallel compile commands.) // TODO: There should be a flag to disable escape code stripping. string final_output; - if (!printer_.is_smart_terminal()) + if (!printer_.supports_color()) final_output = StripAnsiEscapeCodes(output); else final_output = output; |