On this page
tmux.ResizeWindowRequest
- Module
- tmux
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/window_resize.go
-
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.
6 declared, 0 inherited
Members
- Adjustment attribute Adjustment is the required positive amount for Direction; zero omits it.
- Direction attribute Direction selects a directional adjustment; zero selects another mode.
- Expand attribute Expand sets the window to the size of the largest session containing it.
- Height attribute Height sets a positive manual height; zero preserves the current height.
- Shrink attribute Shrink sets the window to the size of the smallest session containing it.
- Width attribute Width sets a positive manual width; zero preserves the current width.