it2 session get-screen

Get current screen contents of a session

Synopsis

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

Description

Get the current visible screen contents of a session without scrollback history. If no session-id is provided, uses $ITERM_SESSION_ID environment variable.

Options

--color

Include ANSI color codes in output

--escaped

Show escape sequences as visible characters (like cat -v)

--format (default "table")

Output format (table|json|yaml|text)

--timeout (default "5s")

Command timeout

--url (default "ws://localhost:1912")

iTerm2 WebSocket URL

See Also