fixed misleading comment, error is not unrecoverable, nor does it halt

the program.
This commit is contained in:
icychkn 2023-06-19 00:30:09 -04:00
parent 40935ad6dc
commit c50b0d8def

View file

@ -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()]