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 every supported tmux.
Source and package
- Qualified name
-
tmux.Resize Window Request - Package
- tmux
- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/window_resize.go
Fields6#
| Name | Type | Description |
|---|---|---|
| Adjustment | int | Adjustment is the required positive amount for Direction; zero omits it. |
| Direction | Window | Direction selects a directional adjustment; zero selects another mode. |
| Expand | bool | Expand sets the window to the size of the largest session containing it. |
| Height | int | Height sets a positive manual height; zero preserves the current height. |
| Shrink | bool | Shrink sets the window to the size of the smallest session containing it. |
| Width | int | Width sets a positive manual width; zero preserves the current width. |