Commit 8fd19ab1 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Correctly instantiate a tuple with the default terminal size

parent 35e55c30
...@@ -74,6 +74,6 @@ def get_terminal_size(): ...@@ -74,6 +74,6 @@ def get_terminal_size():
occurs during running the unittest on Windows (but not on Linux?) occurs during running the unittest on Windows (but not on Linux?)
""" """
terminal_size = namedtuple('Terminal_Size', 'columns lines') terminal_size = namedtuple('Terminal_Size', 'columns lines')
sz = terminal_size((80, 24)) sz = terminal_size(80, 24)
return sz return sz
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment