libtmux.Pane.move
- Module
- libtmux
- Declared in
- Pane
- Package
- libtmux
- Source
- src/libtmux/pane.py
- Other languages
- RubyLua TypeScript Rust Go Java .NET C++ Swift
-
Move this pane to another window via
$ tmux move-pane.Similar to
joinbut invokes themove-panecommand directly.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).
-
In other ports Move a pane to another position
- Ruby
LibTmux::Pane#move - Lua
libtmux.Pane:move_to - TypeScript no equivalent on
Pane - Rust no equivalent on
Pane - Go
tmux.Pane.Move - Java no equivalent on
Pane - .NET
LibTmux.Pane.MoveAsync - C++ no equivalent on
Pane - Swift
Server.move(_:to:at:)moves a window, not a pane
0 declared, 0 inherited