Merge pull request #1693 from ekristen/remove_tty_wrap

Do not wrap table cells
This commit is contained in:
Aanand Prasad 2015-07-15 16:27:27 +01:00
commit 6c7c63ce34
1 changed files with 1 additions and 1 deletions

View File

@ -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)