# control.ControlMode

- **Module:** control
- **Package:** libtmux
- **Language:** Rust
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/control.rs#L432
- **Page:** https://libtmux.org/reference/rs/control-controlmode/

## Members

- `attach` (method) — Attach to a session in control mode.
- `attach_with_limits` (method) — Attach with explicit frame budgets.
- `split` (method)
- `reply_timeout` (method)
- `send` (method) — Send one command and wait for its result block.
- `next_event` (method) — Return the next notification, or `None` once the connection closes.
- `shutdown` (method) — Close the connection and report how it ended.
