Server.resize(_:width:height:)
Sets a pane's size outright.
Source and package
- Qualified name
-
Server.resize(_: width: height:) - Declared in
Server- Package
- libtmux-swift
- Source
- Sources/LibTmux/Mutations.swift
- Other languages
- Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp PythonRubyLuaTypeScriptRustGoJavaC# C++ Kotlin Scala OCaml F# Clojure
-
Description#
Passing neither dimension does nothing rather than sending tmux a command with nothing to do.
tmux command#
The tmux commands behind resize(_:width:height:).
resize-pane (a width or height is given) 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 |
| 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#.