libtmux Reference MCP Search
On this page

io.github.libtmux.transport.CommandRequest.CommandRequest

View as Markdown

Module
io.github.libtmux.transport.CommandRequest
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/transport/CommandRequest.java
struct io.github.libtmux.transport.CommandRequest.CommandRequest
struct [source]
struct [source]
struct io.github.libtmux.transport.CommandRequest.CommandRequest

One tmux invocation: how to reach the server, then the commands to run there.

<p>Commands are held literally. tmux ends a command at an argument whose last byte is ;, so a value ending in one would otherwise be truncated with no error; a transport encodes for the parser it feeds, and #commands() answers with what the caller meant.

<p>The timeout rides on the request instead of the transport because the same server serves both a listing that should answer immediately and an attach that never returns.

3 declared, 0 inherited

Members

  • commandLine method The full argv to hand a process builder, encoded for tmux's own argv parser.
  • of method A request for one command, which is every request but a batch.
  • toString method Counts only. Commands carry pane content and socket paths, and this value reaches log lines and failed assertions.
Esc

Type to search.