Make the KameleonWrapper replace the lines on Windows as well

This commit is contained in:
Alexander Bock
2014-09-25 23:41:02 +02:00
parent e6576e88d6
commit edd52e60b7

View File

@@ -599,7 +599,7 @@ void KameleonWrapper::progressBar(int current, int end) {
int spWidth = barWidth - pos + 2;
std::cout << "[" << std::setfill('=') << std::setw(eqWidth)
<< ">" << std::setfill(' ') << std::setw(spWidth)
<< "] " << iprogress << " % \r" << std::flush;
<< "] " << std::setfill(' ') << std::setw(3) << iprogress << " % \r" << std::flush;
}
_lastiProgress = iprogress;
}