STINNER Victor added the comment: get_terminal_size.diff LGTM.
Would you like to try to write an unit test? Maybe using unittest.mock.patch? ---------- nosy: +haypo _______________________________________ 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