1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-26 06:42:12 +03:00
wezterm/docs/config/lua/pane/get_cursor_position.md
2020-10-09 23:22:52 -07:00

380 B

pane:get_cursor_position()

Since: nightly builds only

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 index
  • y the vertical stable row index
  • shape the CursorShape enum value
  • visibility the CursorVisibility enum value