# control.ControlSender

- **Module:** control
- **Package:** libtmux
- **Language:** Rust
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/control.rs#L675
- **Page:** https://libtmux.org/en/rs/latest/reference/control-controlsender/

Sends commands down a control-mode connection.

Cheap to clone, and every method that sends takes `&self`, so several tasks
can issue commands while another watches events.

## Members

- `reply_timeout` (method): Set how long a command waits for its result block.
- `send` (method): Send one command and wait for its result block.
- `mute_pane` (method): Stop tmux sending this connection what a pane writes.
- `unmute_pane` (method): Resume sending what a pane writes, after [`Self::mute_pane`].
- `resume_pane` (method): Resume a pane tmux paused because this connection fell behind, or one [`Self::mute_pane`] muted.
- `subscribe` (method): Ask tmux to report a format whenever it changes.
- `unsubscribe` (method): Stop reporting a format this connection subscribed to.
- `pause_after` (method): Have tmux pause a pane rather than let this connection fall behind.
- `watch_only` (method): Receive output from these panes and no others.
- `is_closed` (method): Report whether the connection has closed.
