MovePaneRequest
MovePaneRequest configures move-pane on tmux 3.3a 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.
Source and package
- Qualified name
-
tmux.Move Pane Request - Package
- tmux
- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/pane_relocate.go
-
Description#
Size pointers are read during the call and not retained; nil omits the mode and nonnil is explicit. Do not mutate them concurrently.
Fields7#
| Name | Type | Description |
|---|---|---|
| Attach | bool | Attach lets tmux make the moved pane active in the destination winlink. |
| Direction | Pane | Direction selects placement relative to the destination; zero means below. |
| FullWindow | bool | FullWindow lets the moved pane span the full destination window. |
| Percentage | *int | Percentage selects a size from 0 through 100; nil omits it. |
| Size | *int | Size selects a nonnegative absolute pane size; nil omits it. |
| TargetPane | Pane | TargetPane selects an exact destination pane; a zero Pane omits it. |
| TargetWindow | Window | TargetWindow selects an exact destination winlink; a zero Window omits it. |