From 8761b6defc9ef8a304fb7a4eb05d646bdd6a3ff0 Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Mon, 1 Sep 2014 14:44:37 +0100 Subject: [PATCH] [progress bar] Add an extra newline at the end --- base/progress_monitor.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base/progress_monitor.cc b/base/progress_monitor.cc index e6bf572..1d88302 100644 --- a/base/progress_monitor.cc +++ b/base/progress_monitor.cc @@ -16,6 +16,9 @@ namespace { update_percent(0); } + ~progress_bar() { + cout << "\n"; + } void update_percent(unsigned p) { unsigned nr_equals = max(progress_width_ * p / 100, 1);