Merge pull request #3916 from Ma27/progress-bar-coloring

Always reset ANSI colors in progress-bar line
This commit is contained in:
Eelco Dolstra
2020-08-11 07:13:41 +02:00
committed by GitHub
+1 -1
View File
@@ -362,7 +362,7 @@ public:
auto width = getWindowSize().second;
if (width <= 0) width = std::numeric_limits<decltype(width)>::max();
writeToStderr("\r" + filterANSIEscapes(line, false, width) + "\e[K");
writeToStderr("\r" + filterANSIEscapes(line, false, width) + ANSI_NORMAL + "\e[K");
}
std::string getStatus(State & state)