[progress bar] Add an extra newline at the end

This commit is contained in:
Joe Thornber 2014-09-01 14:44:37 +01:00
parent 93468190bd
commit 8761b6defc

View File

@ -16,6 +16,9 @@ namespace {
update_percent(0); update_percent(0);
} }
~progress_bar() {
cout << "\n";
}
void update_percent(unsigned p) { void update_percent(unsigned p) {
unsigned nr_equals = max<unsigned>(progress_width_ * p / 100, 1); unsigned nr_equals = max<unsigned>(progress_width_ * p / 100, 1);