From e3f948496d8cb6ab7a4d706af483b9a1b749adae Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sat, 1 Oct 2016 01:49:30 +0300 Subject: [PATCH] Fix #105 --- libgrive/src/util/ProgressBar.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libgrive/src/util/ProgressBar.cc b/libgrive/src/util/ProgressBar.cc index 6041701..b21aedd 100644 --- a/libgrive/src/util/ProgressBar.cc +++ b/libgrive/src/util/ProgressBar.cc @@ -53,8 +53,8 @@ void ProgressBar::reportProgress(u64_t total, u64_t processed) // only print progress after >= 0.1% change this->last = point; - // 10 for prefix of percent and 22 for suffix of file size - int availableSize = determineTerminalSize() - 32; + // 10 for prefix of percent and 23 for suffix of file size + int availableSize = determineTerminalSize() - 33; int totalDots; if (availableSize > 100) totalDots = 100;