mirror of
https://github.com/python/cpython.git
synced 2025-11-18 10:19:40 +00:00
gh-43414: os.get_terminal_size() now uses the actual file descriptor on Windows instead of mapping to standard handles (#93203)
This commit is contained in:
parent
390847922c
commit
edb72047f3
3 changed files with 17 additions and 15 deletions
|
|
@ -0,0 +1,2 @@
|
|||
:func:`os.get_terminal_size` now attempts to read the size from any provided
|
||||
handle, rather than only supporting file descriptors 0, 1 and 2.
|
||||
Loading…
Add table
Add a link
Reference in a new issue