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.

Swift API

method libtmux-swift latest

Server.resize(_:by:toward:)

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

Source and package
Qualified name
Server.resize(_:by:toward:)
Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Mutations.swift

Description#

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.

Parameters
Raises

tmux command#

The tmux commands behind resize(_:by:toward:).

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference