diff options
author | Florian Schmaus <flow@gentoo.org> | 2024-06-18 11:40:27 +0200 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2024-08-02 14:35:07 +0100 |
commit | a28a0fd6600242a2e062a0fd2d7d5be95296b7ae (patch) | |
tree | 3d02a126ade9bdc4cfe3232b33bfb1e3c84d5115 /lib | |
parent | JobStatusDisplay: show length of merge-wait queue (diff) | |
download | portage-a28a0fd6600242a2e062a0fd2d7d5be95296b7ae.tar.gz portage-a28a0fd6600242a2e062a0fd2d7d5be95296b7ae.tar.bz2 portage-a28a0fd6600242a2e062a0fd2d7d5be95296b7ae.zip |
JobStatusDisplay: increase the default width to 100
Conservatively modernize the default width value from 80 to
100. Usually, I do not care much about the width, but the job status
display holds more information these days, compared to the times where
this value was set.
Plus, self._isatty has the tendency to return false, even though
portage is actually run within a tty. The prime examples causing this
are systemd-run (and run0). Therefore, a conservatively increasing the
value is sensible.
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Closes: https://github.com/gentoo/portage/pull/1348
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/_emerge/JobStatusDisplay.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_emerge/JobStatusDisplay.py b/lib/_emerge/JobStatusDisplay.py index f9e034c6e..78fd8f761 100644 --- a/lib/_emerge/JobStatusDisplay.py +++ b/lib/_emerge/JobStatusDisplay.py @@ -65,7 +65,7 @@ class JobStatusDisplay: if self._isatty: width = portage.output.get_term_size()[1] else: - width = 80 + width = 100 self._set_width(width) def _set_width(self, width): |