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.

class libtmux-java latest

PaneOutput

Terminal output tmux pushed without being asked.

Source and package
Qualified name
io.github.libtmux.control.PaneOutput
Package
io.github.libtmux.control
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/control/PaneOutput.java
class io.github.libtmux.control.PaneOutput (pane: PaneId, data: String, bytes: ByteBuffer)

Description#

tmux cuts a pane's output into pieces by byte count, not by character. bytes is exactly what one piece carried, so a pane's pieces concatenate to what it wrote. data is the same output as text, decoded per pane: a character cut between two pieces arrives whole with the later one, and a byte that is not UTF-8 is written \xHH.

Parameters

Members5#

  • bytes method This piece's bytes, read-only, positioned at the first.
  • data method this piece as text
  • pane method the pane that produced it
  • PaneOutput method Output whose bytes are data in UTF-8.
  • toString method Identifies the pane only: the data is terminal content.

Guides#

Pages that discuss PaneOutput.

Esc

Type to search.

Reference previewOpen reference