[progress bar] Add an extra newline at the end
This commit is contained in:
parent
93468190bd
commit
8761b6defc
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user