MCPcopy Index your code
hub / github.com/ipython/ipython / get_terminal_size

Function get_terminal_size

IPython/utils/terminal.py:124–125  ·  view source on GitHub ↗
(defaultx: int = 80, defaulty: int = 25)

Source from the content-addressed store, hash-verified

122
123
124def get_terminal_size(defaultx: int = 80, defaulty: int = 25) -> tuple[int, int]:
125 return _get_terminal_size((defaultx, defaulty))

Callers 5

pager_pageFunction · 0.90
prepare_headerMethod · 0.90
structured_tracebackMethod · 0.90
prepare_headerMethod · 0.90
structured_tracebackMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…