forked from lix-project/lix
Always hide the progress bar on exit
This commit is contained in:
parent
31707735b6
commit
4e995bc8a6
|
@ -111,10 +111,7 @@ public:
|
|||
auto state(state_.lock());
|
||||
if (!state->active) return;
|
||||
state->active = false;
|
||||
std::string status = getStatus(*state);
|
||||
writeToStderr("\r\e[K");
|
||||
if (status != "")
|
||||
writeToStderr("[" + status + "]\n");
|
||||
updateCV.notify_one();
|
||||
quitCV.notify_one();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue