pull/126/head
Vitaliy Filippov 2016-10-01 15:22:52 +03:00
parent 08e29070c2
commit 04b86d1c87
1 changed files with 2 additions and 2 deletions

View File

@ -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 23 for suffix of file size
int availableSize = determineTerminalSize() - 33;
// 10 for prefix of percent and 26 for suffix of file size
int availableSize = determineTerminalSize() - 36;
int totalDots;
if (availableSize > 100)
totalDots = 100;