class libtmux-java
PrintedText
Decodes tmux's printed output against the version the server actually reports, framed with process-local markers so a reply is read back exactly whatever quirks that version's own printing has.
Source and package
- Qualified name
-
io.github .libtmux. Printed Text - Package
- io.github.libtmux
- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/PrintedText.java
Members7 members
- END_MARK: String attribute Printed after what a command printed. tmux ends its output with a line break and the transport drops trailing blank lines, so text that itself ends in line breaks would lose them; with this after it, nothing trailing is blank.
- expansion method A format for
display-message -pthat#printed(List)reads back exactly. - framed method The three commands
List)sends as one group. - printed method The expansion of a
#versioned()format, as tmux held the text. - printedRows method As
#printed(List), for a listing whose every row began with#versioned(). - unwrap method Strips the version line and end mark
#framed()added, decoding what is left. - versioned method This format with the server's version expanded ahead of it, so the reply can be decoded without another tmux process. See
TmuxVersion).