MCPcopy Create free account
hub / github.com/bpython/bpython / get_term_hw

Method get_term_hw

bpython/curtsiesfrontend/repl.py:489–491  ·  view source on GitHub ↗

Returns the current width and height of the display area.

(self)

Source from the content-addressed store, hash-verified

487 return 0
488
489 def get_term_hw(self) -> tuple[int, int]:
490 """Returns the current width and height of the display area."""
491 return (50, 10)
492
493 def _schedule_refresh(self, when: float):
494 """Arrange for the bpython display to be refreshed soon.

Callers 1

sigwinch_handlerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected