TmuxServers
Finding the tmux servers already running on this machine.
Source and package
- Qualified name
-
TmuxServers - Package
- libtmux-swift
- Source
- Sources/LibTmux/Discovery.swift
- enum TmuxServers : enum Tmux
Servers -
Description#
Every other call in this library addresses a server the caller already names. This is the one that answers "what is there?" — which a program arriving in an unfamiliar environment cannot ask any other way, because a tmux server is a socket on disk and nothing enumerates them.
Members2#
- defaultDirectories(environment:) method Where tmux puts sockets when nobody says otherwise.
- discover(in:tmuxExecutable:) method Every server listening on a socket in
directories.