libtmux Reference MCP Search
On this page

tmux.ResizePaneRequest

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/pane_geometry.go
struct tmux.ResizePaneRequest
struct [source]
struct [source]
struct 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.

7 declared, 0 inherited

Members

  • Adjustment attribute Adjustment is the positive number of cells moved in Direction. It must be zero when Direction is PaneResizeDirectionNone.
  • Direction attribute Direction selects a directional resize and requires Adjustment.
  • Height attribute Height sets an absolute or percentage height. A zero PaneSize omits it.
  • 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.
  • 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.
Esc

Type to search.