Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

class libtmux-java latest

PrintedText

Package io.github.libtmux.PrintedText io.github.libtmux

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.

View as Markdown

Source and package
Module
io.github.libtmux
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/PrintedText.java
class io.github.libtmux.PrintedText
classreadonly [source]

Members7 members#

Other members7 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 display-message -p that #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).
Esc

Type to search.