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

Function test_control_show_cursor

tests/test_windows_renderer.py:112–117  ·  view source on GitHub ↗
(legacy_term_mock)

Source from the content-addressed store, hash-verified

110
111
112def test_control_show_cursor(legacy_term_mock):
113 buffer = [Segment("", None, [(ControlType.SHOW_CURSOR,)])]
114
115 legacy_windows_render(buffer, legacy_term_mock)
116
117 legacy_term_mock.show_cursor.assert_called_once_with()
118
119
120def test_control_hide_cursor(legacy_term_mock):

Callers

nothing calls this directly

Calls 2

SegmentClass · 0.90
legacy_windows_renderFunction · 0.90

Tested by

no test coverage detected