Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

Go API

struct libtmux-go latest

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.MovePaneRequest
Package
tmux
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/pane_relocate.go
struct tmux.MovePaneRequest

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#

MovePaneRequest fields
NameTypeDescription
Attach bool Attach lets tmux make the moved pane active in the destination winlink.
Direction PaneDirection 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.
Esc

Type to search.

Reference previewOpen reference