libtmux:swap-panes
Swap two physical panes; return an outcome with replacements in a fresh vector. The vector follows argument order. DETACHED defaults true; tmux still adjusts active-pane references when panes change windows. PRESERVE-ZOOM restores zoom. Signals STALE-TARGET or an operational condition. Earlier captures stay local and unchanged; observation failure is retained separately.
Source and package
- Qualified name
-
libtmux:swap-panes - Declared in
libtmux- Package
- libtmux
- Source
- src/placement.lisp
-
Public owner:
libtmux- Parameters
tmux command#
The tmux commands behind swap-panes.
tmux C API#
The C declarations in tmux that implement these commands.
Guides#
Pages that discuss swap-panes.