libtmux Reference MCP Search
On this page

tmux.MovePaneRequest

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/pane_relocate.go
struct tmux.MovePaneRequest
struct [source]
struct [source]
struct tmux.MovePaneRequest

MovePaneRequest configures move-pane on tmux 3.2a or later. Its zero value is invalid: exactly one complete TargetPane or TargetWindow handle is required. Cross-object handles must be proven to share a daemon through connection state or the same nonempty SocketPath; matching socket names alone are insufficient. Size and Percentage are mutually exclusive. Invalid enum, target, size, and percentage values are rejected before execution.

Size pointers are read during the call and not retained; nil omits the mode and nonnil is explicit. Do not mutate them concurrently.

7 declared, 0 inherited

Members

  • Attach attribute Attach lets tmux make the moved pane active in the destination winlink.
  • Direction attribute Direction selects placement relative to the destination; zero means below.
  • FullWindow attribute FullWindow lets the moved pane span the full destination window.
  • Percentage attribute Percentage selects a size from 0 through 100; nil omits it.
  • Size attribute Size selects a nonnegative absolute pane size; nil omits it.
  • TargetPane attribute TargetPane selects an exact destination pane; a zero Pane omits it.
  • TargetWindow attribute TargetWindow selects an exact destination winlink; a zero Window omits it.
Esc

Type to search.