# tmux.DetachClientRequest

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/server_clients.go#L47
- **Page:** https://libtmux.org/reference/go/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.
