class_docstr: Two dimensional buffer of :class:`.Char` instances.
docstr: Set the cursor position for a given window.
docstr_tok: ["Set","the","cursor","position","for","a","given","window","."]
code: def set_cursor_position(
      self, window: Window, position: Point
  ) -> None:
      """
      Set the cursor position for a given window.
      """
      self.cursor_positions[window] = position
  
imports: from __future__ import annotations
  from collections import defaultdict
  from typing import TYPE_CHECKING, Callable
  from prompt_toolkit.cache import FastDictCache
  from prompt_toolkit.data_structures import Point
  from prompt_toolkit.utils import get_cwidth
label_desc: Use image node_id 3 for calling the Screen obj's underlying member method code with example usage: obj.set_cursor_position(window, position) without return types