Don't clear away last progress bar
This commit is contained in:
parent
e325917abe
commit
3189fc8976
|
@ -46,7 +46,6 @@ void NiceStderrSink::receive(const logging::Entry& entry) {
|
||||||
void NiceStderrSink::startProgressIndication() {
|
void NiceStderrSink::startProgressIndication() {
|
||||||
std::cerr << "Progress: ";
|
std::cerr << "Progress: ";
|
||||||
progressBar = boost::in_place();
|
progressBar = boost::in_place();
|
||||||
progressBar->setClearOnDestruction(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void NiceStderrSink::interruptProgressIndication() {
|
void NiceStderrSink::interruptProgressIndication() {
|
||||||
|
@ -57,7 +56,6 @@ void NiceStderrSink::interruptProgressIndication() {
|
||||||
void NiceStderrSink::resumeProgressIndication() {
|
void NiceStderrSink::resumeProgressIndication() {
|
||||||
std::cerr << "Progress (cont'd): ";
|
std::cerr << "Progress (cont'd): ";
|
||||||
progressBar = boost::in_place(progress);
|
progressBar = boost::in_place(progress);
|
||||||
progressBar->setClearOnDestruction(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QuietStderrSink::QuietStderrSink(Level minLevel) :
|
QuietStderrSink::QuietStderrSink(Level minLevel) :
|
||||||
|
|
|
@ -32,5 +32,5 @@ private:
|
||||||
std::ostream& stream;
|
std::ostream& stream;
|
||||||
std::string currentText;
|
std::string currentText;
|
||||||
int animationIndex = 0;
|
int animationIndex = 0;
|
||||||
bool clearOnDestruction = true;
|
bool clearOnDestruction = false;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue