Berker Peksag <[email protected]> added the comment:
Thanks for the report. I agree with Eryk. os.get_terminal_size() is a low-level
function. shutil.get_terminal_size() should be used as documented at
https://docs.python.org/3/library/os.html#os.get_terminal_size
shutil.get_terminal_size() is the high-level function which should
normally be used, os.get_terminal_size is the low-level
implementation.
----------
nosy: +berker.peksag
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue32463>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com