Explorar o código

Merge pull request #1693 from ekristen/remove_tty_wrap

Do not wrap table cells
Aanand Prasad %!s(int64=10) %!d(string=hai) anos
pai
achega
6c7c63ce34
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)