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.

MoreLess about this notice
View Columns are a trial view; the tree stays the default. All variantsPanels

method libtmux-go

Server.SocketSelection

SocketSelection returns the socket NewServer selected, snapshotted with the environment and working directory: an explicit socket, else LIBTMUX_SOCKET_PATH, else LIBTMUX_SOCKET, else the server tmux chooses itself from TMUX or its default socket. It does not start tmux or require the selected socket to exist.

Source and package
Qualified name
tmux.Server.SocketSelection
Package
tmux
Declared in
Server
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/socket_selection.go
func (s Server) SocketSelection() (SocketSelection, error)
Transport
It does not start tmux or require the selected socket to exist.doc comment · socket_selection.go:52

Recorded calls

source calls
No call edges in the Go model.

The Go reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls tmux.Server.SocketSelection.

Esc
Search in

Type to search.

Reference previewOpen reference