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

tmux.Plan.SplitPane

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
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.