WindowLink.swap
Source and package
- Qualified name
-
libtmux.Window Link: swap - Module
- libtmux
- Declared in
WindowLink- Package
- libtmux
- Source
- lua/libtmux/_internal/entity.lua
- Other languages
- PowerShell Julia Elixir Python Ruby TypeScriptRustGo Java C#C++Swift Kotlin Scala F#
- swap: fun( self: libtmux
.Window , other: libtmuxLink .Window , options?: libtmuxLink .Swap , ):libtmuxLink Options .Request <boolean> -
- Parameters
-
-
other(libtmux.Window ) # – One placement of a window in a session: a window can be linked into several.Link
-
tmux command#
The tmux commands behind swap.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Exchange two windows
| Language | Equivalent |
|---|---|
| Python | libtmux |
| TypeScript | window |
| Rust | window |
| Go | tmux |
| Java | no equivalent on Window |
| C# | Lib |
| C++ | libtmux:: |
| Swift | Server |
No equivalent is recorded in Ruby, PowerShell, Julia, Elixir, Kotlin, Scala or F#.