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

Go API

Go documentation

View as Markdown

Module
tmux
Declared in
Window
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/pane_create.go
Other languages
PythonRuby Lua TypeScriptRustJava.NETC++Swift
SplitPane ( ctx : context.Context , request : SplitPaneRequest ) → (Pane, error)
method [source]
method [source]
SplitPane

SplitPane creates a tiled pane in the receiver's exact winlink. Attach makes the new pane active in that session and winlink; it is not a global client-focus guarantee. The returned Pane is freshly materialized in the receiver SessionID and WindowID rather than by canonical ID-only refresh. Pane.Split is the equivalent operation relative to an existing pane rather than its window.

If tmux reports a PaneID before a transport or refresh failure, the partial result also contains the receiver SessionID and WindowID. Other failures return zero; creation is not rolled back.

In other ports Split a window's active pane

0 declared, 0 inherited

Esc

Type to search.