Skip to content

Commit

Permalink
JobStatusDisplay: increase the default width to 100
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Flowdalic committed Jun 18, 2024
1 parent 19e750b commit 6e3e8f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/_emerge/JobStatusDisplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __init__(self, quiet=False, xterm_titles=True):
if self._isatty:
width = portage.output.get_term_size()[1]
else:
width = 80
width = 100
self._set_width(width)

def _set_width(self, width):
Expand Down

0 comments on commit 6e3e8f3

Please sign in to comment.