On this page
tmux.Session.OpenControl
- Module
- tmux
- Declared in
- Session
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/connection.go
- OpenControl ( ctx : context.Context , options : ConnectionOptions ) (*Connection, error)
-
OpenControl opens terminal control-mode transport to the receiver's daemon. The returned connection owns its lanes and must be closed. A receiver already bound to a connection cannot be rebound. Before tmux 3.6, destroying the attached session follows that session's detach-on-destroy policy and may end the connection.
Discussed in Control mode vs one-shot
0 declared, 0 inherited