Browse Source

Merge pull request #1693 from ekristen/remove_tty_wrap

Do not wrap table cells
Aanand Prasad 10 years ago
parent
commit
6c7c63ce34
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compose/cli/formatter.py

+ 1 - 1
compose/cli/formatter.py

@@ -7,7 +7,7 @@ import texttable
 def get_tty_width():
     tty_size = os.popen('stty size', 'r').read().split()
     if len(tty_size) != 2:
-        return 80
+        return 0
     _, width = tty_size
     return int(width)