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

PaneOutputDecoder

Decodes a subscriber's raw UTF-8 output independently of other subscribers. Incomplete characters wait for the same pane's next chunk; malformed bytes become \xHH escapes. Call #reset() after each subscription gap and #finish() at termination. Confine an instance to one reader.

Source and package
Qualified name
io.github.libtmux.control.PaneOutputDecoder
Package
io.github.libtmux.control
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/control/PaneOutputDecoder.java
class io.github.libtmux.control.PaneOutputDecoder

Members5#

  • decode method Decodes the preserved bytes, ignoring the client's predecoded text.
  • finish method Escapes remaining partial bytes by pane, releases them, and returns an immutable map.
  • PaneOutputDecoder method Bounds panes holding an incomplete character, each at most three bytes. A new partial pane evicts the oldest partial pane and increments #resetCount().
  • reset method Discards all partial characters after a gap and counts that reset.
  • resetCount method The monotonic count of gap resets and partial-pane evictions.
Esc

Type to search.

Reference previewOpen reference