Searched refs:get_terminal_size (Results 1 – 15 of 15) sorted by relevance
3 from os import get_terminal_size8 (COLUMNS, _) = get_terminal_size()
113 stdin_dim = os.get_terminal_size(pty.STDIN_FILENO)
2579 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))
3614 size = os.get_terminal_size()3644 actual = os.get_terminal_size(sys.__stdin__.fileno())
1334 def get_terminal_size(fallback=(80, 24)): function1367 size = os.get_terminal_size(sys.__stdout__.fileno())
170 width = shutil.get_terminal_size().columns
782 .. function:: get_terminal_size(fallback=(columns, lines))792 by invoking :func:`os.get_terminal_size`.
1553 .. function:: get_terminal_size(fd=STDOUT_FILENO)1564 :func:`shutil.get_terminal_size` is the high-level function which1565 should normally be used, ``os.get_terminal_size`` is the low-level
475 padding, _ = shutil.get_terminal_size()
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).