libtmux Reference MCP Search
On this page

tmux.Plan.SplitPane

View as Markdown

Module
tmux
Declared in
Plan
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/plan_pane.go
SplitPane ( target : Ref , request : SplitPaneRequest ) Ref
method [source]
method [source]
SplitPane

SplitPane records a split of the window or pane target names, and returns a Ref to the pane it will create.

The returned ref can target later steps before the pane exists:

plan := tmux.NewPlan() pane := plan.SplitPane(window.Ref(), tmux.SplitPaneRequest{}) plan.SendKeys(pane, tmux.SendKeysRequest{Command: tmux.Ptr("top")}) result, err := plan.Run(ctx, server)

0 declared, 0 inherited

Esc

Type to search.