Don't clear away last progress bar

This commit is contained in:
Daniel Wolf 2019-01-02 14:27:49 +01:00
parent e325917abe
commit 3189fc8976
2 changed files with 1 additions and 3 deletions

View File

@ -46,7 +46,6 @@ void NiceStderrSink::receive(const logging::Entry& entry) {
void NiceStderrSink::startProgressIndication() {
std::cerr << "Progress: ";
progressBar = boost::in_place();
progressBar->setClearOnDestruction(false);
}
void NiceStderrSink::interruptProgressIndication() {
@ -57,7 +56,6 @@ void NiceStderrSink::interruptProgressIndication() {
void NiceStderrSink::resumeProgressIndication() {
std::cerr << "Progress (cont'd): ";
progressBar = boost::in_place(progress);
progressBar->setClearOnDestruction(false);
}
QuietStderrSink::QuietStderrSink(Level minLevel) :

View File

@ -32,5 +32,5 @@ private:
std::ostream& stream;
std::string currentText;
int animationIndex = 0;
bool clearOnDestruction = true;
bool clearOnDestruction = false;
};