On this page
tmux.ControlClient.Cmd
- Module
- tmux
- Declared in
- ControlClient
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/control_request.go
- Cmd ( ctx : context.Context , args : string ) (ControlCommandResult, error)
-
Cmd executes one safely encoded tmux command through the control client. It requires exactly one reply frame and returns
ErrControlReplyCountotherwise. UseControlClient.Callfor aliases that may produce zero or multiple frames.
0 declared, 0 inherited