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

Function test_control_hide_cursor

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

Source from the content-addressed store, hash-verified

118
119
120def test_control_hide_cursor(legacy_term_mock):
121 buffer = [Segment("", None, [(ControlType.HIDE_CURSOR,)])]
122
123 legacy_windows_render(buffer, legacy_term_mock)
124
125 legacy_term_mock.hide_cursor.assert_called_once_with()
126
127
128def test_control_cursor_move_to_column(legacy_term_mock):

Callers

nothing calls this directly

Calls 2

SegmentClass · 0.90
legacy_windows_renderFunction · 0.90

Tested by

no test coverage detected