1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00

Always hide the progress bar on exit

This commit is contained in:
Eelco Dolstra 2020-06-15 18:01:05 +02:00
parent 31707735b6
commit 4e995bc8a6

View file

@ -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();
}