tmux_window_link:move/3
Move this membership to the destination session and explicit index, leaving its physical window's other links intact. Placement options follow link/3. Moving the final window out of a session can destroy that session; automatic renumbering and session groups can change other memberships. Captured rows remain unchanged. Returns the command result after observed preflight.
Source and package
- Qualified name
-
tmux_window _link: move/3 - Declared in
tmux_window_link- Package
- libtmux_erlang
- Source
- apps/libtmux_erlang/src/tmux_window_link.erl
- Other languages
- Perlmethod PowerShell Julia Elixir Haskell Common Lisp Python Ruby LuaTypeScriptRustGoJavaC#C++Swift Kotlin Scala OCaml F# Clojure
- move(Link, Session, Options) -spec move(tmux
_model: (), tmuxwindow _link _model: (), placementsession _options ()) -> {ok, tmux_operation: ()} | {error, tmuxcompleted _operation: ()}.failure -
- Parameters
-
tmux command#
The tmux commands behind move/3.
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 |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | window |
| Rust | window |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | Server |
| OCaml | Libtmux |
| Perl | Lib Requires an explicit WindowLink or session_id:index context; a physical window alone does not select a session placement. |
No equivalent is recorded in Ruby, PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.