libtmux Reference MCP Search
On this page

window.Window.resize

View as Markdown

Module
window
Declared in
Window
Package
@libtmux/libtmux
Source
packages/libtmux/src/window.ts
resize ( options : : ResizeWindowOptions ) Promise<void>
method [source]
method [source]
resize

Resize this window, by a direction, to a size, or to what its clients allow.

Under tmux's default window-size a window tracks its attached clients, which will overwrite this the next time they change; window-size manual is what makes a size of your own stick.

Examples

await window.resize({ height: 30, width: 100 });

0 declared, 0 inherited

Esc

Type to search.