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

tmux.ControlClient.Cmd

Go
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

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)
method [source]
method [source]
Cmd

Cmd executes one safely encoded tmux command through the control client. It requires exactly one reply frame and returns ErrControlReplyCount otherwise. Use ControlClient.Call for aliases that may produce zero or multiple frames.

0 declared, 0 inherited

Esc

Type to search.