Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/hierarchy.go
Other languages
PythonRubyLuaTypeScriptRustJava.NETC++Swift
Sessions ( ctx : context.Context ) → ([]Session, error)
method [source]
method [source]
Sessions

Sessions materializes the server's sessions. Failures, including ErrNoServer , remain errors rather than empty results.

Discussed in Traversal

In other ports List the server’s sessions

0 declared, 0 inherited

Esc

Type to search.