SessionSpec.Builder
Collects the choices, each named for what it does rather than for the field it sets.
Source and package
- Qualified name
-
io.github .libtmux .Session Spec. Builder - Package
- io.github.libtmux
- Declared in
SessionSpec- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/SessionSpec.java
Members11#
Common operations1#
- environment method Adds several variables to the new session's environment, keeping any already set.
Other members10#
- 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.
- firstWindowNamed method Names the session's first window.
- in method Starts the session in this directory, resolved against this process's when relative.
- named method Names the session, where tmux would otherwise number it.
- running method Runs a command instead of the default shell. tmux reports the session before the command has started, so wait for its pane's command with
java.time.Duration)rather than reading it at once. - 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.
Guides#
Pages that discuss Builder.