From 108559b3df8ef31072c53afe07d4005f496caffb Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Mon, 9 Jul 2012 14:49:55 -0700 Subject: TermProgressBar: Fix to do 80 chars (not 81) --- pym/portage/output.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pym') 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 = " " -- cgit v1.2.3-65-gdbad