Removed extra space

This commit is contained in:
2025-11-28 14:57:30 +01:00
parent 9f0725f686
commit 0786f6b49a

View File

@ -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;