libtmux Reference MCP Search
On this page

Server.resize(_:by:toward:)

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Mutations.swift
resize(_:by:toward:) ( pane : Pane , by : Int , toward : ResizeDirection ) ()
methodasync [source]
methodasync [source]
resize(_:by:toward:)

Nudges a pane's boundary, leaving the rest of the layout to absorb it.

The counterpart to setting a size outright: this is how you say "a little more room" without first reading what the pane has and doing the arithmetic. Which pane grows depends on the direction — see ResizeDirection .

Raises

0 declared, 0 inherited

Esc

Type to search.