libtmux Reference MCP Search
On this page

control.protocol.unescape_output

View as Markdown

Module
control.protocol
Package
libtmux
Source
crates/libtmux/src/control/protocol.rs
unescape_output ( source : &[u8] ) Vec<u8>
function [source]
function [source]
unescape_output

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.

0 declared, 0 inherited

Esc

Type to search.