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

Swift API

Swift documentation

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Server.swift
Other languages
PythonRubyLuaTypeScriptRustGoJava.NETC++
sessions() ( ) → [Session]
methodasync [source]
methodasync [source]
sessions()

Every session on this server, in tmux's own order.

Use isRunning() when absence is an expected probe; a failed listing throws rather than impersonating a running server with no sessions.

Raises
In other ports List the server’s sessions

0 declared, 0 inherited

Esc

Type to search.