# tmux.ResizePaneRequest

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/pane_geometry.go#L59
- **Page:** https://libtmux.org/reference/go/tmux-resizepanerequest/

ResizePaneRequest selects one resize mode. Direction with Adjustment, dimensions, Zoom, Mouse, and TrimBelow are mutually exclusive modes; Height and Width may be set together. Its zero value sends a bare tmux resize-pane command rather than selecting a mode. When Direction is [PaneResizeDirectionNone], Adjustment must be zero.

## Members

- `Direction` (attribute) — Direction selects a directional resize and requires Adjustment.
- `Adjustment` (attribute) — Adjustment is the positive number of cells moved in Direction. It must be zero when Direction is PaneResizeDirectionNone.
- `Height` (attribute) — Height sets an absolute or percentage height. A zero PaneSize omits it.
- `Width` (attribute) — Width sets an absolute or percentage width. A zero PaneSize omits it.
- `Zoom` (attribute) — Zoom toggles the pane between its normal layout and full-window zoom.
- `Mouse` (attribute) — Mouse begins tmux mouse resizing and is meaningful from a mouse binding.
- `TrimBelow` (attribute) — TrimBelow removes lines below the cursor and refills from history.
