diff options
-rw-r--r-- | pym/_emerge/JobStatusDisplay.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/_emerge/JobStatusDisplay.py b/pym/_emerge/JobStatusDisplay.py index 288e355f6..cfc0bfa91 100644 --- a/pym/_emerge/JobStatusDisplay.py +++ b/pym/_emerge/JobStatusDisplay.py @@ -87,7 +87,9 @@ class JobStatusDisplay(object): False otherwise. """ - term_type = os.environ.get("TERM", "vt100") + term_type = os.environ.get("TERM", "").strip() + if not term_type: + return False tigetstr = None try: |