code: def test_control_cursor_move_to(legacy_term_mock):
      buffer = [
          Segment("", None, [(ControlType.CURSOR_MOVE_TO, 20, 30)])
      ]
  
      legacy_windows_render(buffer, legacy_term_mock)
  
      legacy_term_mock.move_cursor_to.assert_called_once_with(
          WindowsCoordinates(row=29, col=19)
      )
  
file_path: rich/tests/test_windows_renderer.py
imports: import sys
  from unittest.mock import call, create_autospec
  import pytest
  from rich.segment import ControlType, Segment
  from rich.style import Style
label_desc: Use image node_id 5 for calling a global function with example usage: test_control_cursor_move_to(legacy_term_mock) without return types