Window.resize
Resize this window, by a direction, to a size, or to what its clients allow.
Source and package
-
Description#
Under tmux's default
window-sizea window tracks its attached clients, which will overwrite this the next time they change;window-size manualis what makes a size of your own stick.Examples#
await window.resize({ height: 30, width: 100 });- Parameters
tmux command#
The tmux commands behind resize.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Resize a window
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| Rust | window |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | both Server.resize overloads size a pane, not a window |
No equivalent is recorded in PowerShell, Julia, Elixir, Kotlin, Scala or F#.