libtmux Reference MCP Search
On this page

tmux.Pane.NewPane

View as Markdown

Module
tmux
Declared in
Pane
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/pane_create.go
NewPane ( ctx : context.Context , request : NewPaneRequest ) (Pane, error)
method [source]
method [source]
NewPane

NewPane creates a floating pane relative to the receiver's exact linked-pane view. 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.

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

0 declared, 0 inherited

Esc

Type to search.