Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

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.PrintedText
Package
io.github.libtmux
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/PrintedText.java
class io.github.libtmux.PrintedText

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 -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
Search in

Type to search.

Reference previewOpen reference