On this page
tmux.Pane.Resize
- 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)
-
Resize runs tmux resize-pane against the receiver's exact linked session-window-pane target, then refreshes by PaneID. The returned canonical
Panemay 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
CommandErroronly for stderr; nonzero exits without stderr are followed by refresh. Transport errors return zero and are delivery-ambiguous.In other languages Resize a pane
- Python
libtmux.Pane.resize - TypeScript
pane.Pane.resize - Rust
pane.Pane.resize - Java
io.github.libtmux.Pane.Pane.resize - .NET
LibTmux.Pane.ResizeAsync - C++ no direct equivalent; `libtmux::Window::resize` resizes the window, not a pane within it
- Swift
Server.resize(_:width:height:)
- Python
0 declared, 0 inherited