io.github.libtmux.transport.OutputDecoder.OutputDecoder
Java
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- 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.
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.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