diff --git a/rhubarb/src/rhubarb/sinks.cpp b/rhubarb/src/rhubarb/sinks.cpp index 3b2e1b2..ef62778 100644 --- a/rhubarb/src/rhubarb/sinks.cpp +++ b/rhubarb/src/rhubarb/sinks.cpp @@ -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) : diff --git a/rhubarb/src/tools/ProgressBar.h b/rhubarb/src/tools/ProgressBar.h index 2c58509..2dd5f7a 100644 --- a/rhubarb/src/tools/ProgressBar.h +++ b/rhubarb/src/tools/ProgressBar.h @@ -32,5 +32,5 @@ private: std::ostream& stream; std::string currentText; int animationIndex = 0; - bool clearOnDestruction = true; + bool clearOnDestruction = false; };