Specify name instead of number

This commit is contained in:
Jonathan van der Steege 2022-06-21 20:55:25 +02:00
parent c29518b37a
commit 2d7b838bee

View file

@ -111,7 +111,7 @@ class Entry:
if columns == "auto":
try:
columns = os.get_terminal_size()[0]
columns = os.get_terminal_size().columns
except OSError:
logging.debug(
"Can't determine terminal size automatically 'linewrap': '%s'",