summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c
index 3e2a570..5df51f3 100644
--- a/src/print.c
+++ b/src/print.c
@@ -64,7 +64,7 @@ void apk_print_progress(size_t done, size_t total)
if (!(apk_flags & APK_PROGRESS))
return;
- bar_width = apk_get_screen_width() - 7;
+ bar_width = apk_get_screen_width() - 8;
if (total > 0) {
bar = muldiv(bar_width, done, total);
percent = muldiv(100, done, total);