libtmux Reference MCP Search
On this page

tmux.Window.Move

View as Markdown

Module
tmux
Declared in
Window
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/window_link_move.go
Move ( ctx : context.Context , request : MoveWindowRequest ) (Window, error)
method [source]
method [source]
Move

Move removes the receiver's exact winlink and places it in TargetSession, or renumbers the selected session when Renumber is set. Unless NoSelect is set, tmux makes the moved winlink current in the destination session; this is not a global client-focus guarantee. The stable WindowID does not by itself identify either linked view.

Move returns a canonical freshly materialized Window , which may use a different linked session than the destination. If the command succeeds but refresh fails, it returns the receiver with that error. Earlier failures return zero; transport errors are delivery-ambiguous.

0 declared, 0 inherited

Esc

Type to search.