aboutsummaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/output.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/output.py b/pym/portage/output.py
index fc6f6ebaa..507adb0ba 100644
--- a/pym/portage/output.py
+++ b/pym/portage/output.py
@@ -737,9 +737,9 @@ class TermProgressBar(ProgressBar):
square_brackets_width = 2
if cols < percentage_str_width:
return ""
- bar_space = cols - percentage_str_width - square_brackets_width
+ bar_space = cols - percentage_str_width - square_brackets_width - 1
if self._desc:
- bar_space -= self._desc_max_length + 1
+ bar_space -= self._desc_max_length
if maxval == 0:
max_bar_width = bar_space-3
image = " "