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

ServerEndpoint.defaultSocket

tmux's own default server, wherever tmux decides that is.

Source and package
Qualified name
io.github.libtmux.ServerEndpoint.defaultSocket
Package
io.github.libtmux
Declared in
ServerEndpoint
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/ServerEndpoint.java
static ServerEndpoint defaultSocket()

Description#

That is the server in TMUX when this process runs inside a tmux pane, and the default socket under TMUX_TMPDIR otherwise. To read LIBTMUX_SOCKET and LIBTMUX_SOCKET_PATH first, use #fromEnvironment().

Guides#

Pages that discuss defaultSocket.

Esc

Type to search.

Reference previewOpen reference