Home
last modified time | relevance | path

Searched refs:get_terminal_size (Results 1 – 15 of 15) sorted by relevance

/third_party/mesa3d/bin/
Dmeson-options.py3 from os import get_terminal_size
8 (COLUMNS, _) = get_terminal_size()
/third_party/python/Lib/test/
Dtest_pty.py113 stdin_dim = os.get_terminal_size(pty.STDIN_FILENO)
Dtest_shutil.py2579 size = shutil.get_terminal_size()
2589 size = shutil.get_terminal_size()
2595 size = shutil.get_terminal_size()
2602 size = shutil.get_terminal_size()
2626 actual = shutil.get_terminal_size()
2637 size = shutil.get_terminal_size(fallback=(10, 20))
2645 size = shutil.get_terminal_size(fallback=(30, 40))
Dtest_os.py3614 size = os.get_terminal_size()
3644 actual = os.get_terminal_size(sys.__stdin__.fileno())
/third_party/python/Lib/
Dshutil.py1334 def get_terminal_size(fallback=(80, 24)): function
1367 size = os.get_terminal_size(sys.__stdout__.fileno())
Dargparse.py170 width = shutil.get_terminal_size().columns
/third_party/python/Doc/library/
Dshutil.rst782 .. function:: get_terminal_size(fallback=(columns, lines))
792 by invoking :func:`os.get_terminal_size`.
Dos.rst1553 .. function:: get_terminal_size(fd=STDOUT_FILENO)
1564 :func:`shutil.get_terminal_size` is the high-level function which
1565 should normally be used, ``os.get_terminal_size`` is the low-level
/third_party/python/Lib/test/support/
D__init__.py475 padding, _ = shutil.get_terminal_size()
/third_party/python/Doc/whatsnew/
D3.3.rst1643 * The new :func:`os.get_terminal_size` function queries the size of the
1645 :func:`shutil.get_terminal_size`.
1795 * :func:`shutil.get_terminal_size`: returns the size of the terminal window
/third_party/python/Misc/NEWS.d/
D3.5.2rc1.rst763 Fix error handling in :func:`shutil.get_terminal_size`, catch
D3.6.0a1.rst1185 Fix error handling in :func:`shutil.get_terminal_size`, catch
D3.5.0a1.rst1611 Add missing get_terminal_size and SameFileError to shutil.__all__.
D3.8.0a1.rst3762 Use :func:`shutil.get_terminal_size` to calculate the terminal width
/third_party/python/Misc/
DHISTORY1167 - Issue #22665: Add missing get_terminal_size and SameFileError to
8796 os.get_terminal_size (low level) and shutil.get_terminal_size (high level).