Pane.resize
Resize tmux pane.
Source and package
-
Description#
Notes
Three types of resizing are available:
- Adjustments:
adjustment_directionandadjustment. - Manual resizing:
heightand / orwidth. - Zoom / Unzoom:
zoom.
- Parameters
-
-
adjustment_direction(ResizeAdjustment | None) # – direction to adjust,Direction Up,Down,Left,Right. -
adjustment(int | None) # -
trim_below(bool | None) # – trim below cursor
- Returns
- Raises
- Adjustments:
tmux command#
The tmux commands behind resize.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Resize a pane
| Language | Equivalent |
|---|---|
| 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 |
| Perl | Lib Explicit Server operation. Captured entities remain local observations; use a new snapshot to observe changes. |
No equivalent is recorded in PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.