Client.resize_pane
Request positive cell dimensions, supplying at least one dimension. Omit either dimension to retain it. tmux can constrain the result to the available layout. Capture again to observe the actual dimensions.
Source and package
- Qualified name
-
Libtmux_eio .Client. resize _pane - Module
- Libtmux_eio
- Declared in
Client- Package
- libtmux-eio
- Source
- eio/libtmux_eio.mli
- Other languages
- Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp PythonRubyLuaTypeScriptRustGoJavaC# C++ Swift Kotlin Scala F# Clojure
- val resize_pane : ?width:int -> ?height:int -> t -> Libtmux
.Pane -> (unit, Libtmux.target .Error ) result.t -
Public owner:
Libtmux_eio
tmux command#
The tmux commands behind 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 |
| 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#.