Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

Go API

struct libtmux-go latest

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

Fields7#

ResizePaneRequest fields
NameTypeDescription
Adjustment int Adjustment is the positive number of cells moved in Direction. It must be zero when Direction is PaneResizeDirectionNone.
Direction PaneResizeDirection Direction selects a directional resize and requires Adjustment.
Height PaneSize 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 PaneSize 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.
Esc

Type to search.

Reference previewOpen reference