pane:get_cursor_position()
¶
Since: Version 20201031-154415-9614e117
The functionality described in this section requires version 20201031-154415-9614e117 of wezterm, or a more recent version.
Returns a lua representation of the StableCursorPosition
struct
that identifies the cursor position, visibility and shape.
It has the following fields:
x
the horizontal cell indexy
the vertical stable row indexshape
theCursorShape
enum valuevisibility
theCursorVisibility
enum value