libtmux Reference MCP Search
On this page

tmux.Pane.Resize

View as Markdown

Module
tmux
Declared in
Pane
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/pane_geometry.go
Other languages
PythonTypeScriptRustJava.NET C++ Swift
Resize ( ctx : context.Context , request : ResizePaneRequest ) (Pane, error)
method [source]
method [source]
Resize

Resize runs tmux resize-pane against the receiver's exact linked session-window-pane target, then refreshes by PaneID. The returned canonical Pane may therefore carry a different linked-session or winlink context. If the resize is accepted but refresh fails, Resize returns the original receiver with that error.

Invalid requests fail before execution. A completed command produces a redacted CommandError only for stderr; nonzero exits without stderr are followed by refresh. Transport errors return zero and are delivery-ambiguous.

In other languages Resize a pane

0 declared, 0 inherited

Esc

Type to search.