it2 text
Text and buffer operations in iTerm2
Description
Commands for buffer operations, text manipulation, and terminal content management
Commands
- it2 text clear-buffer - Clear screen buffer contents
- it2 text find - Find text in session buffer
- it2 text get-buffer - Get buffer contents (moved to 'session get-buffer')
- it2 text get-contents - Get specific line ranges from a session buffer
- it2 text get-cursor - Get cursor position and state
- it2 text get-screen - Get screen contents (moved to 'session get-screen')
- it2 text highlight - Temporarily highlight text patterns
- it2 text inject - Inject data into a session as if it came from the program
- it2 text replace - Replace text in session buffer
- it2 text search - Search buffer contents for patterns
- it2 text select - Control text selection in a session
- it2 text send - Send text (moved to 'session send-text')
- it2 text set-cursor - Set cursor position
- it2 text set-size - Set the terminal grid size for a session
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
- it2 - iTerm2 API Command-Line Interface