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

RowFormat

A listing template and the reader for the rows it produces.

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

Description#

tmux returns a listing as plain lines, so what separates one field from the next is whatever string the client put between them — and tmux gives no character a special meaning there. Any fixed choice is therefore something a user can put in a window name. A window named with the separator turns an n-field template into n+1 fields and shifts everything after it, so a pane id arrives where a name belongs, and nothing downstream can tell.

The separator is generated once per process instead. Colliding with it means naming a window with the exact token this process happened to produce.

Members8#

  • of method A format over the given tmux format names, in the order rows will report them.
  • Row class One row's values, addressed by the field name that asked for them.
  • rows method Reads a whole listing back into rows.
  • separator method The token this process separates fields with.
  • size method How many fields a row must have.
  • split method Reads one row back into its fields.
  • template method The argument to pass to tmux's -F.
  • terminator method
Esc

Type to search.

Reference previewOpen reference