# libtmux::Client

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/85e8bd603a322dc32bb8b9aeb1a72bcf36945f1d/include/libtmux/entities.hpp#L807
- **Page:** https://libtmux.org/reference/cxx/libtmux-client/

## Members

- `kNoun` (attribute)
- `kFields` (attribute)
- `Client` (method)
- `name` (method) — A client is named by its terminal path, which is the only stable handle tmux gives; there is no client id format.
- `session_name` (method)
- `read_only` (method)
- `tty` (method)
- `width` (method)
- `height` (method)
- `created` (method)
- `last_activity` (method)
- `terminal` (method)
- `control_mode` (method) — A control-mode client is a program driving tmux, not a terminal.
- `session` (method)
- `switch_to` (method) — Point this client at another session, leaving it attached.
- `detach` (method)
- `refresh` (method) — Redraw, and tell tmux the size this client is now, which matters for a control-mode client whose size tmux cannot otherwise observe.
