# tmux.DetachClientRequest

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/server_clients.go#L47
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-detachclientrequest/

DetachClientRequest configures detaching one tmux client. Its zero value detaches tmux's current client; nil fields omit their flags while an empty ShellCommand pointer is explicit.

## Members

- `TargetClient` (attribute): TargetClient selects a stable client; zero selects tmux's current client.
- `ShellCommand` (attribute): ShellCommand is run after detaching when nonnil.
