libtmux:split-pane
Split captured PANE and return a COMMAND-OUTCOME with the created pane. DIRECTION is :HORIZONTAL (left/right) or :VERTICAL (top/bottom). SIZE is a positive cell count; PERCENT is 1 through 100, mutually exclusive with SIZE. BEFORE places the pane before its target; FULL-SIZE spans the whole window. DETACHED defaults true. CWD, ENVIRONMENT, COMMAND and SHELL-COMMAND follow NEW-WINDOW. Failed acquisition after successful creation is retained separately. Signals STALE-TARGET or an operational condition; never retries the mutation.
Source and package
- Qualified name
-
libtmux:split-pane - Declared in
libtmux- Package
- libtmux
- Source
- src/creation.lisp
-
Public owner:
libtmux
tmux command#
The tmux commands behind split-pane.
tmux C API#
The C declarations in tmux that implement these commands.
Each path starts at a function a command runs, which is degree 1. The degree counts steps from there along the path, and each step is a call or a reference: degree 2 is reached from that function, degree 3 from the next, and so on.
Split a window
- 1
cmd_split_window_exec - references → 2
spawn_pane - calls → 3
window_add_pane - calls → 4
window_pane_create
Guides#
Pages that discuss split-pane.