Removed extra space
This commit is contained in:
@ -414,7 +414,7 @@ public void update()
|
||||
magenta, actions.total_download_size, reset,
|
||||
);
|
||||
|
||||
int barSpace = termWidth - dl_spad*2 - 3 - 2 - 10 - 11;
|
||||
int barSpace = termWidth - dl_spad*2 - 3 - 2 - 9 - 11;
|
||||
float progress = dl_size.to!float / actions.total_download_size;
|
||||
long filledSpace = lround(progress * barSpace);
|
||||
long emptySpace = lround((1.0 - progress) * barSpace);
|
||||
@ -427,7 +427,7 @@ public void update()
|
||||
progress_bar ~= reset~"]";
|
||||
|
||||
string percent = format(
|
||||
"[%7.2f%%]", progress * 100
|
||||
"[%6.2f%%]", progress * 100
|
||||
);
|
||||
|
||||
int speed_rank = 0;
|
||||
|
||||
Reference in New Issue
Block a user