[issue13609] Add "os.get_terminal_size()" function
Zbyszek Szmek
report at bugs.python.org
Thu Feb 16 20:25:37 CET 2012
Zbyszek Szmek <zbyszek at in.waw.pl> added the comment:
Stdout can be connected to a pipe, e.g to less, which in turn might
be connected to a terminal. The program can then display output properly
scaled for the terminal, assuming that because stdin is
connnected to a terminal, output will eventually reach the same
terminal. Sometimes this is true, sometimes not.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13609>
_______________________________________
More information about the Python-bugs-list
mailing list