- Module
- tmux
- Declared in
- Pane
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/pane_create.go
- Other languages
- PythonRubyLuaTypeScriptRustJava.NET C++ Swift
- Split ( ctx : context.Context , request : SplitPaneRequest ) (Pane, error)
-
Split creates a tiled 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
Paneis freshly materialized in the receiver SessionID and WindowID. Named Split rather than SplitPane to avoid repeating Pane;Window.SplitPaneis the equivalent operation relative to a window.If tmux reports a
PaneIDbefore 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 pane in two
- Python
libtmux.Pane.split - Ruby
LibTmux::Pane#split - Lua
libtmux.Pane:split - TypeScript
pane.Pane.split - Rust
pane.Pane.split - Java
io.github.libtmux.Pane.Pane.split - .NET
LibTmux.Pane.SplitAsync - C++ no direct pane target; Window.split splits the active pane
- Swift
Server.split(_:direction:size:startDirectory:)
- Python
0 declared, 0 inherited