# control.protocol.unescape_output

- **Module:** control.protocol
- **Package:** libtmux
- **Language:** Rust
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/control/protocol.rs#L408
- **Page:** https://libtmux.org/reference/rs/control-protocol-unescape_output/

```
control.protocol.unescape_output(source: &[u8]) -> Vec<u8>
```

Undo the escaping tmux applies to `%output`.

tmux writes a byte below `0x20` as `\ooo` and a backslash as `\\`, and
leaves everything else alone -- so a pane emitting Latin-1 or binary
produces a line that is not UTF-8. Anything else after a backslash is not
an escape tmux produces, so it is kept as written rather than guessed at.
