Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_shutil.py1841 size = shutil.get_terminal_size()
1851 size = shutil.get_terminal_size()
1857 size = shutil.get_terminal_size()
1864 size = shutil.get_terminal_size()
1888 actual = shutil.get_terminal_size()
1899 size = shutil.get_terminal_size(fallback=(10, 20))
1907 size = shutil.get_terminal_size(fallback=(30, 40))
Dtest_os.py3047 size = os.get_terminal_size()
3073 actual = os.get_terminal_size(sys.__stdin__.fileno())
/external/python/cpython3/Lib/
Dshutil.py1070 def get_terminal_size(fallback=(80, 24)): function
1103 size = os.get_terminal_size(sys.__stdout__.fileno())
/external/python/cpython3/Doc/library/
Dshutil.rst632 .. function:: get_terminal_size(fallback=(columns, lines))
642 by invoking :func:`os.get_terminal_size`.
Dos.rst1372 .. function:: get_terminal_size(fd=STDOUT_FILENO)
1383 :func:`shutil.get_terminal_size` is the high-level function which
1384 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.rst764 Fix error handling in :func:`shutil.get_terminal_size`, catch
D3.6.0a1.rst1186 Fix error handling in :func:`shutil.get_terminal_size`, catch
D3.5.0a1.rst1611 Add missing get_terminal_size and SameFileError to shutil.__all__.
/external/python/cpython3/Modules/
Dposixmodule.c11310 get_terminal_size(PyObject *self, PyObject *args) in get_terminal_size() function
12811 {"get_terminal_size", get_terminal_size, METH_VARARGS, termsize__doc__},
/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).