libtmux Reference MCP Search
On this page

io.github.libtmux.SessionSpec.SessionSpec.Builder

View as Markdown

Module
io.github.libtmux.SessionSpec
Declared in
SessionSpec
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/SessionSpec.java
class io.github.libtmux.SessionSpec.SessionSpec.Builder
classstaticreadonly [source]
classstaticreadonly [source]
class io.github.libtmux.SessionSpec.SessionSpec.Builder

Collects the choices, each named for what it does rather than for the field it sets.

11 declared, 0 inherited

Members

  • build method The finished spec.
  • clientFlags method Sets the client flags tmux applies, which it reads as one comma-separated list.
  • detachOthers method Detaches any other client already on this session.
  • env method Sets one variable in the new session's environment.
  • environment method Adds several variables to the new session's environment, keeping any already set.
  • firstWindowNamed method Names the session's first window.
  • in method Starts the session in this directory.
  • named method Names the session, where tmux would otherwise number it.
  • running method Runs a command instead of the default shell.
  • sized method Gives the session a size, which a detached session has no client to take one from.
  • withoutSize method Asks tmux not to give the session a size at all.
Esc

Type to search.