Index: dm/DMReporter.cpp |
diff --git a/dm/DMReporter.cpp b/dm/DMReporter.cpp |
index 31310d1cd9a70cbf7610ed03ae7fa91c454182d8..0fd83e5bb656a1406cd6842a55185a4df8b96f45 100644 |
--- a/dm/DMReporter.cpp |
+++ b/dm/DMReporter.cpp |
@@ -1,6 +1,7 @@ |
#include "DMReporter.h" |
#include "SkCommandLineFlags.h" |
+#include "OverwriteLine.h" |
DEFINE_bool(quiet, false, "If true, don't print status updates."); |
@@ -12,7 +13,7 @@ void Reporter::updateStatusLine() const { |
} |
SkString status; |
- status.printf("\r\033[K%d tasks left", this->started() - this->finished()); |
+ status.printf("%s%d tasks left", kSkOverwriteLine, this->started() - this->finished()); |
const int failed = this->failed(); |
if (failed > 0) { |
status.appendf(", %d failed", failed); |