Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased libtmux has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-lisp latest

libtmux:resize-pane

Resize PANE and return a COMMAND-OUTCOME with an optional replacement pane. Choose cell WIDTH/HEIGHT (1..10000), a DIRECTION and positive AMOUNT, or ZOOM. DIRECTION is :LEFT, :RIGHT, :UP or :DOWN; AMOUNT defaults to one. ZOOM toggles the window's zoom state. Modes are exclusive. Tmux may clamp sizes to the available layout; inspect the observed value. Earlier captures stay unchanged. Signals INVALID-ARGUMENT, STALE-TARGET or an operational condition.

Source and package
Qualified name
libtmux:resize-pane
Declared in
libtmux
Package
libtmux
Source
src/geometry.lisp
(resize-pane client pane &key width height direction (amount 1 amount-p) zoom (observe t) cancel-token timeout output-limit)

Public owner: libtmux

tmux command#

The tmux commands behind resize-pane.

tmux C API#

The C declarations in tmux that implement these commands.

Guides#

Pages that discuss resize-pane.

Esc

Type to search.

Reference previewOpen reference