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-window

Resize physical WINDOW and return an outcome with an optional replacement. Choose cell WIDTH/HEIGHT (1..10000), a DIRECTION and positive AMOUNT, or FIT (:SMALLEST or :LARGEST attached client). Modes are exclusive; dimensions are subject to tmux's layout constraints. A resize sets the window-size option to manual, as tmux does. Signals INVALID-ARGUMENT, STALE-TARGET or an operational condition. Observation failure is retained separately from mutation success.

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

Public owner: libtmux

tmux command#

The tmux commands behind resize-window.

tmux C API#

The C declarations in tmux that implement these commands.

Guides#

Pages that discuss resize-window.

Esc

Type to search.

Reference previewOpen reference