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 tmux.PaneResizeDirectionNone, Adjustment must be zero.
Source and package
- Qualified name
-
tmux.Resize Pane Request - Package
- tmux
- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/pane_geometry.go
Fields7#
| Name | Type | Description |
|---|---|---|
| Adjustment | int | Adjustment is the positive number of cells moved in Direction. It must be zero when Direction is PaneResizeDirectionNone. |
| Direction | Pane | Direction selects a directional resize and requires Adjustment. |
| Height | Pane | Height sets an absolute or percentage height. A zero PaneSize omits it. |
| Mouse | bool | Mouse begins tmux mouse resizing and is meaningful from a mouse binding. |
| TrimBelow | bool | TrimBelow removes lines below the cursor and refills from history. |
| Width | Pane | Width sets an absolute or percentage width. A zero PaneSize omits it. |
| Zoom | bool | Zoom toggles the pane between its normal layout and full-window zoom. |