# control.ControlSender.resume_pane

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

```
control.ControlSender.resume_pane(self, pane: &PaneId) -> Result<(), Error>
```

Resume a pane tmux paused because this connection fell behind, or one [`Self::mute_pane`] muted.

Pairs with [`Event::Paused`], which arrives once a caller has asked for
pausing with [`Self::pause_after`]. It is also exactly
[`Self::unmute_pane`]: both send the same two commands, so calling
either after [`Self::mute_pane`] recovers the pane on every version,
rather than only the one whose mechanism happens to match.

# Errors

Returns an error when the connection has closed or tmux refuses the
stream change.
