[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
1 changed files with 3 additions and 0 deletions

View File

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