mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
Issue #13609: Add two functions to query the terminal size:
os.get_terminal_size (low level) and shutil.get_terminal_size (high level). Patch by Zbigniew Jędrzejewski-Szmek.
This commit is contained in:
parent
4195b5caea
commit
bcf2b59fb5
10 changed files with 339 additions and 5 deletions
|
|
@ -908,6 +908,9 @@
|
|||
/* Define to 1 if you have the <sys/file.h> header file. */
|
||||
#undef HAVE_SYS_FILE_H
|
||||
|
||||
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
||||
#undef HAVE_SYS_IOCTL_H
|
||||
|
||||
/* Define to 1 if you have the <sys/kern_control.h> header file. */
|
||||
#undef HAVE_SYS_KERN_CONTROL_H
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue