Server.resize_pane
resize_pane(pane => Pane|pane_id, width => positive_integer?, height => positive_integer?).
Source and package
-
Description#
Resize a
LibTmux::Paneto the supplied positive width and/or height. tmux's layout constraints may affect the resulting dimensions; inspect anotherLibTmux::Snapshotfor observed values.Returns
undefafter command acceptance. Performs I/O; failures propagate throughLibTmux::X. Captured objects are not modified.$server->resize_pane(pane => $pane, width => 100);Methods#
tmux command#
The tmux commands behind resize_pane.
display-message (daemon identity or target preflight) resize-pane tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Resize a pane
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| Erlang | tmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | pane |
| Rust | pane |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | no direct equivalent; libtmux::Window::resize resizes the window, not a pane within it |
| Swift | Server |
| OCaml | Libtmux |
No equivalent is recorded in PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.