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.

method libtmux-java latest

SessionSpec.detached

Always true, and not a choice.

Source and package
Qualified name
io.github.libtmux.SessionSpec.detached
Package
io.github.libtmux
Declared in
SessionSpec
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/SessionSpec.java
public boolean detached()

Description#

new-session attaches unless told not to, and attaching needs a terminal — from a process without one it fails with open terminal failed. A library is usually called from something that has no tty, so the session is always created detached. WindowSpec and SplitSpec default the other way, because their commands need no terminal.

Esc

Type to search.

Reference previewOpen reference