Core Library0.xAPI reference

Choose documentation 1

pr-173

Current version

pr-173
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

function libtmux-elixir

Pane.resize/3

Requests an absolute width, height or both for an exact pane.

Source and package
Qualified name
LibTmux.Pane.resize/3
Module
LibTmux
Declared in
Pane
Package
libtmux
Source
lib/libtmux/entities.ex
resize(connection, ref, options) @spec resize(LibTmux.Action.connection(), LibTmux.Ref.t(), [ LibTmux.Action.resize_option() ]) :: {:ok, LibTmux.Action.result(:ok)} | {:error, LibTmux.Action.error()}

Description

Supply width: and height: in 1..10000 terminal cells. tmux unzooms the window and constrains each requested dimension to the available layout. Optional session: requires the pane's window to be linked to that session. Both transports return action completion evidence. Capture again to observe the resulting geometry.

See the worked example.

Recorded calls

source calls
No call edges in the Elixir model.

The Elixir reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Pane.resize/3.

Esc
Search in

Type to search.

Reference previewOpen reference