mirror of
https://github.com/novoid/filetags.git
synced 2026-02-16 14:04:14 +00:00
fixed misleading comment, error is not unrecoverable, nor does it halt
the program.
This commit is contained in:
parent
40935ad6dc
commit
c50b0d8def
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ if platform.system() == 'Windows':
|
|||
TTY_HEIGHT, TTY_WIDTH = 80, 80 # fall-back values
|
||||
IS_WINDOWS = True
|
||||
else:
|
||||
# check to avoid unrecoverable stty error when stdin is not a terminal.
|
||||
# check to avoid stty error when stdin is not a terminal.
|
||||
if sys.stdin.isatty():
|
||||
try:
|
||||
TTY_HEIGHT, TTY_WIDTH = [int(x) for x in os.popen('stty size', 'r').read().split()]
|
||||
|
|
|
|||
Loading…
Reference in a new issue