libtmux.Window.move_window
- Module
- libtmux
- Declared in
- Window
- Package
- libtmux
- Source
- src/libtmux/window.py
- Other languages
- Ruby LuaTypeScriptRustGoJava.NETC++Swift
-
Move current
Windowobject$ tmux move-window.- Parameters
-
-
destination ( str ) – The
target windowor index to move the window to, default: empty string. -
session ( str | None ) – The
target sessionor index to move the window to, default: current session. -
after ( bool | None ) – Insert after the target window (
-aflag). added 0.56 -
before ( bool | None ) – Insert before the target window (
-bflag). added 0.56 -
no_select ( bool | None ) – Do not make the moved window the current window (
-dflag). added 0.56 -
kill_target ( bool | None ) – Kill the target window if it exists (
-kflag). added 0.56 -
renumber ( bool | None ) – Renumber all windows in sequential order (
-rflag). This is a standalone operation — when used, no move is performed and other parameters are ignored. added 0.56
-
- Returns
-
WindowSelf, for method chaining. - Raises
-
-
libtmux.exc.LibTmuxException – If tmux returns an error.
-
In other ports Move a window to another session or index
- Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua
libtmux.WindowLink:move - TypeScript
window.Window.move - Rust
window.Window.move_to - Go
tmux.Window.Move - Java
io.github.libtmux.Window.Window.moveTo - .NET
LibTmux.Window.MoveAsync - C++
libtmux::Window::move_to - Swift
Server.move(_:to:at:)
0 declared, 0 inherited