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
- it2 tmux - Manage tmux integration
- it2 tmux attach - Attach to tmux session
- it2 tmux list-clients - List tmux clients
- it2 tmux list-connections - List all tmux connections
- it2 tmux list-windows - List tmux windows
- it2 tmux send - Send command to tmux