# tmux.ResizeWindowRequest

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

ResizeWindowRequest selects one directional, manual, expand, or shrink operation. Height and Width may be set together. A zero request asks tmux to reapply the current manual size. Direction requires a positive Adjustment; that pair, dimensions, Expand, and Shrink are mutually exclusive and are validated before execution. Zero Adjustment, Height, and Width omit their modes; nonzero values must be positive. The request is supported on tmux 3.2a or later.

## Members

- `Direction` (attribute) — Direction selects a directional adjustment; zero selects another mode.
- `Adjustment` (attribute) — Adjustment is the required positive amount for Direction; zero omits it.
- `Height` (attribute) — Height sets a positive manual height; zero preserves the current height.
- `Width` (attribute) — Width sets a positive manual width; zero preserves the current width.
- `Expand` (attribute) — Expand sets the window to the size of the largest session containing it.
- `Shrink` (attribute) — Shrink sets the window to the size of the smallest session containing it.
