Pane.move
Move this pane to another window via $ tmux move-pane.
Source and package
-
Examples#
>>> pane_to_move = window.split(shell='sleep 1m')>>> w2 = session.new_window(window_name='move_target')>>> pane_to_move.move(w2)- Parameters
-
-
target(str | Pane | Window) # – Target pane or window to move into. -
vertical(bool) # – Split vertically (-vflag), default True. False for horizontal (-h). -
detach(bool) # – Do not switch to the target window (-dflag), default True. -
full_window(bool | None) # – Use the full window width/height (-fflag). -
size(str | int | None) # – Size for the moved pane (-lflag). -
before(bool | None) # – Place the pane before the target (-bflag).
-
tmux command#
The tmux commands behind move.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Move a pane to another position
| Language | Equivalent |
|---|---|
| Ruby | Lib |
| Lua | libtmux |
| Erlang | tmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no equivalent on Pane |
| Rust | no equivalent on Pane |
| Go | tmux |
| Java | no equivalent on Pane |
| C# | Lib |
| C++ | no equivalent on Pane |
| Swift | Server.move(_:to:at:) moves a window, not a pane |
| OCaml | Libtmux |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |
| Raku | Lib |
No equivalent is recorded in PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.