Emanuel Barry added the comment:

On posix-based OSes, `os.get_terminal_size` might not exist ( 
https://hg.python.org/cpython/file/default/Modules/posixmodule.c#l12462 ), so 
this is needed.

New patch file with tests included.

----------
Added file: http://bugs.python.org/file42522/get_term_size_with_test.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26801>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to