Pane.swap
Behavior: Entity mutation.
Source and package
- def swap: ( ::Lib
Tmux:: , ?timeout: ::Numeric, ?cancel: untyped ) -> ::LibEntity Ref Tmux:: Command Result -
Description#
Behavior contract: Entity mutation.
tmux command#
The tmux commands behind swap.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Exchange two panes
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Lua | libtmux |
| TypeScript | pane |
| 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#.