On this page
tmux.LinkWindowRequest
- Module
- tmux
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/window_link_move.go
-
LinkWindowRequest configures linking a window into another session on tmux 3.2a or later. Its zero value is invalid because TargetSession is required. Nil TargetIndex asks tmux for a destination index; a nonnil value is explicit and must be nonnegative. After and Before are mutually exclusive and are rejected before execution. TargetIndex is read during the call and is not retained; callers must not mutate it concurrently.
6 declared, 0 inherited
Members
- After attribute After inserts the new winlink after the destination target.
- Before attribute Before inserts the new winlink before the destination target.
- Detach attribute Detach leaves the target session's current window unchanged.
- KillExisting attribute KillExisting destroys a window already occupying the destination.
- TargetIndex attribute TargetIndex selects a destination winlink index; nil lets tmux choose.
- TargetSession attribute TargetSession identifies the destination session in the receiver's tmux server.