it2 selection get

Get current text selection

Synopsis

it2 selection get [<session-id>] [flags]

Description

Get the current text selection from the specified session (defaults to active session)

Options

--text

Return the selected text content instead of selection coordinates

Options inherited from parent commands

--format (default "text")

Output format (text, json, yaml) - affects how command results are displayed

--timeout

Timeout for API operations - how long to wait for iTerm2 to respond

--url

WebSocket URL for iTerm2 API - typically ws://localhost:1912 for local iTerm2

See Also