Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

View as Markdown

Module
tmux
Declared in
Window
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/window_resize.go
Other languages
PythonRubyLuaTypeScriptRustJava.NETC++ Swift
Resize ( ctx : context.Context , request : ResizeWindowRequest ) → (Window, error)
method [source]
method [source]
Resize

Resize changes the stable window's size through the receiver's exact winlink. It does not select the window or promise any client focus. Resize returns a canonical freshly materialized Window , which may use another linked session for the same WindowID. If the command succeeds but refresh fails, it returns the receiver with that error; other command failures return a zero Window. A transport or context error can be delivery-ambiguous and no rollback is attempted.

In other ports Resize a window

0 declared, 0 inherited

Esc

Type to search.