Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-go latest

Plan.Cmd

Cmd records raw tmux arguments targeted at target.

Source and package
Qualified name
tmux.Plan.Cmd
Package
tmux
Declared in
Plan
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/plan.go
func (p *Plan) Cmd(target Ref, args ...string)

Description#

It can target an object an earlier step creates. A zero Ref records an untargeted server command.

The recorded command is assumed to neither print output the caller reads nor create an object, which is what lets it share a dispatch with its neighbours. Use Plan.CmdCapture for one whose output is the point.

Parameters
Esc

Type to search.

Reference previewOpen reference