libtmux Reference MCP Search
On this page

io.github.libtmux.transport.OutputDecoder.OutputDecoder

View as Markdown

Module
io.github.libtmux.transport.OutputDecoder
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/transport/OutputDecoder.java
class io.github.libtmux.transport.OutputDecoder.OutputDecoder
classreadonly [source]
classreadonly [source]
class io.github.libtmux.transport.OutputDecoder.OutputDecoder

Turns a drained pipe into lines the way callers already expect.

<p>tmux emits pane content, so the bytes are not guaranteed to be UTF-8. A malformed byte is escaped as \xNN rather than replaced with U+FFFD, which keeps the original byte recoverable and matches what CPython's backslashreplace produces.

<p>The two channels split differently: stdout keeps interior blank lines and drops only trailing ones, stderr drops every blank wherever it appears. That asymmetry is not a tidy rule, it is the observable shape callers depend on.

2 declared, 0 inherited

Members

Esc

Type to search.