MCPcopy Index your code
hub / github.com/RustPython/RustPython / set_cursor_vis

Method set_cursor_vis

Lib/_pyrepl/unix_console.py:429–439  ·  view source on GitHub ↗

Set the visibility of the cursor. Parameters: - visible (bool): Visibility flag.

(self, visible)

Source from the content-addressed store, hash-verified

427 )
428
429 def set_cursor_vis(self, visible):
430 """
431 Set the visibility of the cursor.
432
433 Parameters:
434 - visible (bool): Visibility flag.
435 """
436 if visible:
437 self.__show_cursor()
438 else:
439 self.__hide_cursor()
440
441 if TIOCGWINSZ:
442

Callers

nothing calls this directly

Calls 2

__show_cursorMethod · 0.95
__hide_cursorMethod · 0.95

Tested by

no test coverage detected