mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-17 11:38:32 +02:00
Specify name instead of number
This commit is contained in:
parent
c29518b37a
commit
2d7b838bee
1 changed files with 1 additions and 1 deletions
|
@ -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'",
|
||||||
|
|
Loading…
Add table
Reference in a new issue