MCPcopy
hub / github.com/Textualize/rich / hide_cursor

Method hide_cursor

rich/_win32_console.py:547–551  ·  view source on GitHub ↗

Hide the cursor

(self)

Source from the content-addressed store, hash-verified

545 )
546
547 def hide_cursor(self) -> None:
548 """Hide the cursor"""
549 current_cursor_size = self._get_cursor_size()
550 invisible_cursor = CONSOLE_CURSOR_INFO(dwSize=current_cursor_size, bVisible=0)
551 SetConsoleCursorInfo(self._handle, cursor_info=invisible_cursor)
552
553 def show_cursor(self) -> None:
554 """Show the cursor"""

Callers 3

test_hide_cursorFunction · 0.95
_win32_console.pyFile · 0.80
legacy_windows_renderFunction · 0.80

Calls 3

_get_cursor_sizeMethod · 0.95
CONSOLE_CURSOR_INFOClass · 0.85
SetConsoleCursorInfoFunction · 0.85

Tested by 1

test_hide_cursorFunction · 0.76