Window.move
Move this window to another session or index without selecting it.
Source and package
-
Description#
Moves this placement. Sessions that are grouped share one window list, so moving a window they share moves it in all of them; sessions that merely link the same window keep their own lists, and only this one moves.
Examples#
await window.move({ index: 3 });- Parameters
-
-
options={}(MoveWindow ) #Options
-
tmux command#
The tmux commands behind move.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Move a window to another session or index
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Lua | libtmux |
| Rust | window |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | Server |
No equivalent is recorded in Ruby, PowerShell, Julia, Elixir, Kotlin, Scala or F#.