diff options
| -rw-r--r-- | pym/gentoolkit/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/gentoolkit/base.py b/pym/gentoolkit/base.py index 832d902..3d662d5 100644 --- a/pym/gentoolkit/base.py +++ b/pym/gentoolkit/base.py @@ -40,7 +40,7 @@ def initialize_configuration(): # Get terminal size term_width = pp.output.get_term_size()[1] - if term_width == -1: + if term_width < 1: # get_term_size() failed. Set a sane default width: term_width = 80 # Terminal size, minus a 1-char margin for text wrapping |
