# io.github.libtmux.PrintedText

- **Module:** io.github.libtmux
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-java/blob/f56392b5d9bc7f1f9c1631842333fb90f3d82d40/libtmux/src/main/java/io/github/libtmux/PrintedText.java#L13
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-printedtext-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.

## Members

### Other members

- `END_MARK` (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 {@code display-message -p} that {@link #printed(List)} reads back exactly.
- `framed` (method): The three commands {@link Server#printed(io.github.libtmux.snapshot.ServerSnapshot, List)} sends as one group.
- `printed` (method): The expansion of a {@link #versioned} format, as tmux held the text.
- `printedRows` (method): As {@link #printed(List)}, for a listing whose every row began with {@link #versioned}.
- `unwrap` (method): Strips the version line and end mark {@link #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 {@link TmuxFormats#printed(String, TmuxVersion)}.
