Server.OpenControl
OpenControl starts a control-mode client attached to session. The startup context bounds process start, attach framing, and client registration but does not own the returned client's lifetime. Session must belong to the same configured server selector. Acquisition requires tmux 3.7 and a filesystem that can hard-link the selected Unix socket into a private directory.
Source and package
- Qualified name
-
tmux.Server. Open Control - Package
- tmux
- Declared in
Server- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/control_startup.go
- func (s Server) OpenControl( ctx context
.Context , session Session, ) (*ControlClient , error)
tmux command#
The tmux commands behind OpenControl.
tmux C API#
The C declarations in tmux that implement these commands.