[issue13609] Add "os.get_terminal_size()" function
STINNER Victor
report at bugs.python.org
Tue Feb 7 14:09:34 CET 2012
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> +1 for low level system wrapper to get current stdout console size
So use os.get_terminal_size()
> -1 on COLUMN/ROWS "business logic"
So don't use shutil.get_terminal_size(), but it looks like their is a
use case for this feature.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13609>
_______________________________________
More information about the Python-bugs-list
mailing list