summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pym/gentoolkit/equery/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/gentoolkit/equery/__init__.py b/pym/gentoolkit/equery/__init__.py
index b362bca..e79e04f 100644
--- a/pym/gentoolkit/equery/__init__.py
+++ b/pym/gentoolkit/equery/__init__.py
@@ -207,7 +207,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