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": if columns == "auto":
try: try:
columns = os.get_terminal_size()[0] columns = os.get_terminal_size().columns
except OSError: except OSError:
logging.debug( logging.debug(
"Can't determine terminal size automatically 'linewrap': '%s'", "Can't determine terminal size automatically 'linewrap': '%s'",