it2 text get-cursor
Get cursor position and state
Synopsis
it2 text get-cursor [<session-id>] [flags]
Description
Get the current cursor position and state information for a session.
If no session-id is provided, uses $ITERM_SESSION_ID environment variable.
Returns cursor coordinates, visibility, and other cursor state information.
Examples:
it2 text get-cursor
it2 text get-cursor session123
it2 text get-cursor --format json
Options
-
--format(default "table") - Output format (table|json|yaml|text)
-
--timeout(default "5s") - Command timeout
-
--url(default "ws://localhost:1912") - iTerm2 WebSocket URL
See Also
- it2 text - Text and buffer operations in iTerm2