Message150775
| 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.7170668e-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. |
|