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

io.github.libtmux.format.RowFormat.RowFormat

Java
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
io.github.libtmux.format.RowFormat
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/format/RowFormat.java
class io.github.libtmux.format.RowFormat.RowFormat
classreadonly [source]
classreadonly [source]
class io.github.libtmux.format.RowFormat.RowFormat

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

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.

8 declared, 0 inherited

Members

  • 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.