Pane.swapWith
Exchange positions with another pane.
Source and package
-
Examples#
await pane.swapWith(otherPane);
tmux command#
The tmux commands behind swapWith.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Exchange two panes
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| Rust | pane |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | Server.swap(_:with:) swaps windows, not panes |
No equivalent is recorded in PowerShell, Julia, Elixir, Kotlin, Scala or F#.