it2 tmux detach

Detach from tmux session

Synopsis

it2 tmux detach <connection-id> [client-name]

Description

Detach from a tmux session. If client-name is provided, detaches that specific client.

Examples

# Detach current client
$ it2 tmux detach conn-123
# Detach specific client
$ it2 tmux detach conn-123 /dev/ttys001
# Detach all clients
$ it2 tmux detach conn-123 -a

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