Home
last modified time | relevance | path

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

/external/mesa3d/bin/
Dmeson-options.py3 from os import get_terminal_size
8 (COLUMNS, _) = get_terminal_size()
/external/llvm-project/lldb/source/Interpreter/
Dembedded_interpreter.py62 def get_terminal_size(fd): function
90 if get_terminal_size(fd)[1] == 0:
/external/python/cpython3/Lib/test/
Dtest_shutil.py2486 size = shutil.get_terminal_size()
2496 size = shutil.get_terminal_size()
2502 size = shutil.get_terminal_size()
2509 size = shutil.get_terminal_size()
2533 actual = shutil.get_terminal_size()
2544 size = shutil.get_terminal_size(fallback=(10, 20))
2552 size = shutil.get_terminal_size(fallback=(30, 40))
Dtest_os.py3469 size = os.get_terminal_size()
3499 actual = os.get_terminal_size(sys.__stdin__.fileno())
/external/python/cpython3/Lib/
Dshutil.py1316 def get_terminal_size(fallback=(80, 24)): function
1349 size = os.get_terminal_size(sys.__stdout__.fileno())
Dargparse.py170 width = shutil.get_terminal_size().columns
/external/python/cpython3/Doc/library/
Dshutil.rst777 .. function:: get_terminal_size(fallback=(columns, lines))
787 by invoking :func:`os.get_terminal_size`.
Dos.rst1420 .. function:: get_terminal_size(fd=STDOUT_FILENO)
1431 :func:`shutil.get_terminal_size` is the high-level function which
1432 should normally be used, ``os.get_terminal_size`` is the low-level
/external/python/cpython3/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
/external/python/cpython3/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
/external/python/cpython3/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).