On this page
io.github.libtmux.transport.OutputDecoder.OutputDecoder
- Module
- io.github.libtmux.transport.OutputDecoder
- Package
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/transport/OutputDecoder.java
-
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
\xNNrather than replaced with U+FFFD, which keeps the original byte recoverable and matches what CPython'sbackslashreplaceproduces.<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
- stderrLines method
- stdoutLines method