mirror of https://github.com/vitalif/grive2
:D:D:D fix #106
parent
08e29070c2
commit
04b86d1c87
|
@ -53,8 +53,8 @@ void ProgressBar::reportProgress(u64_t total, u64_t processed)
|
||||||
// only print progress after >= 0.1% change
|
// only print progress after >= 0.1% change
|
||||||
this->last = point;
|
this->last = point;
|
||||||
|
|
||||||
// 10 for prefix of percent and 23 for suffix of file size
|
// 10 for prefix of percent and 26 for suffix of file size
|
||||||
int availableSize = determineTerminalSize() - 33;
|
int availableSize = determineTerminalSize() - 36;
|
||||||
int totalDots;
|
int totalDots;
|
||||||
if (availableSize > 100)
|
if (availableSize > 100)
|
||||||
totalDots = 100;
|
totalDots = 100;
|
||||||
|
|
Loading…
Reference in New Issue