Author vstinner
Recipients Arfrever, amaury.forgeotdarc, denilsonsa, giampaolo.rodola, loewis, neologix, pitrou, rosslagerwall, vstinner, zbysz
Date 2012-01-06.22:44:30
SpamBayes Score 3.71707e-07
Marked as misclassified No
Message-id <CAMpsgwb+sajBWpKVe4wpSD0ahJgu=b60UOJ7_=VRhPCixYQP-Q@mail.gmail.com>
In-reply-to <1325853017.71.0.936491533882.issue13609@psf.upfronthosting.co.za>
Content
> - fd argument is retained, because we might want to test terminals
>  opened with openpty.

You mean a terminal different than the one used for stdin, stdout and stderr?

> - two functions: still there. I think that get_terminal_size() should
>  provide an easy-to-use, even trivial-to-use, way to get a sensible
>  value without writing a wrapper. In the _majority_ of cases the
>  wrapper would be something like get_terminal_size() currently.

get_terminal_size() looks like reliable than raw_get_terminal_size()
because environment variables are not updated when the terminal is
resized.
History
Date User Action Args
2012-01-06 22:44:31vstinnersetrecipients: + vstinner, loewis, amaury.forgeotdarc, pitrou, giampaolo.rodola, Arfrever, zbysz, denilsonsa, neologix, rosslagerwall
2012-01-06 22:44:31vstinnerlinkissue13609 messages
2012-01-06 22:44:31vstinnercreate