Searched refs:get_terminal_size (Results 1 – 14 of 14) sorted by relevance
3 from os import get_terminal_size8 (COLUMNS, _) = get_terminal_size()
62 def get_terminal_size(fd): function90 if get_terminal_size(fd)[1] == 0:
2486 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))
3469 size = os.get_terminal_size()3499 actual = os.get_terminal_size(sys.__stdin__.fileno())
1316 def get_terminal_size(fallback=(80, 24)): function1349 size = os.get_terminal_size(sys.__stdout__.fileno())
170 width = shutil.get_terminal_size().columns
777 .. function:: get_terminal_size(fallback=(columns, lines))787 by invoking :func:`os.get_terminal_size`.
1420 .. function:: get_terminal_size(fd=STDOUT_FILENO)1431 :func:`shutil.get_terminal_size` is the high-level function which1432 should normally be used, ``os.get_terminal_size`` is the low-level
1643 * The new :func:`os.get_terminal_size` function queries the size of the1645 :func:`shutil.get_terminal_size`.1795 * :func:`shutil.get_terminal_size`: returns the size of the terminal window
763 Fix error handling in :func:`shutil.get_terminal_size`, catch
1185 Fix error handling in :func:`shutil.get_terminal_size`, catch
1611 Add missing get_terminal_size and SameFileError to shutil.__all__.
3762 Use :func:`shutil.get_terminal_size` to calculate the terminal width
1167 - Issue #22665: Add missing get_terminal_size and SameFileError to8796 os.get_terminal_size (low level) and shutil.get_terminal_size (high level).