MCPcopy Index your code
hub / github.com/python/cpython / set_cursor_vis

Method set_cursor_vis

Lib/_pyrepl/windows_console.py:382–386  ·  view source on GitHub ↗
(self, visible: bool)

Source from the content-addressed store, hash-verified

380 self.posxy = x, y
381
382 def set_cursor_vis(self, visible: bool) -> None:
383 if visible:
384 self._show_cursor()
385 else:
386 self._hide_cursor()
387
388 def getheightwidth(self) -> tuple[int, int]:
389 """Return (height, width) where height and width are the height

Callers

nothing calls this directly

Calls 2

_show_cursorMethod · 0.95
_hide_cursorMethod · 0.95

Tested by

no test coverage detected