Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

View as Markdown

Module
tmux
Declared in
Window
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/window_link_move.go
Other languages
Python Ruby LuaTypeScriptRustJava.NETC++Swift
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.

In other ports Move a window to another session or index

0 declared, 0 inherited

Esc

Type to search.