Pane.ResizeAsync
Resizes this pane.
Source and package
- Qualified name
-
LibTmux .Pane. Resize Async - Namespace
- LibTmux
- Declared in
Pane- Package
- LibTmux
- Source
- src/LibTmux/Pane.Topology.cs
- async Task<Pane> ResizeAsync( Resize
Pane request, CancellationRequest Token cancellationToken = default ) -
Description
tmux clamps a size that does not fit rather than refusing it, so the result may differ from what was asked for.
- Parameters
-
-
request(ResizePane ) – The size to apply.Request -
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
-
- Returns
-
A replacement handle carrying the new size.
Recorded calls
source callsThe C# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Pane.ResizeAsync.
tmux command
task materialThe tmux commands behind ResizeAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 12 other ports mappedSource-verified mappings for Resize a pane. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.
| Port | API | Differs from C# |
|---|---|---|
| C# | Lib Resizes this pane. | This page |
| Python | libtmux Resize tmux pane. | None recorded in the model |
| Ruby | Lib Behavior: Entity mutation. | None recorded in the model |
| Lua | libtmux | None recorded in the model |
| Erlang | tmux Request an absolute width, height or both for this registered physical pane. Performs I/O after validating dimensions and origin. tmux can clamp the request to its layout constraints and can resize neighboring panes. Resizing a tiled pane unzooms its window. Use get/2 for actual dimensions; the input row is unchanged. The accepted library range is not a promise that every server accepts every dimension: tmux versions can impose tighter limits and return a command error. | free function |
| TypeScript | pane Resize this pane; tmux ignores a dimension its layout cannot honour. | None recorded in the model |
| Rust | pane Resize the pane to an exact size in cells. | None recorded in the model |
| Go | tmux Resize runs tmux resize-pane against the receiver's exact linked session-window-pane target, then refreshes by PaneID. The returned canonical Pane may therefore carry a different linked-session or winlink context. If the resize is accepted but refresh fails, Resize returns the original receiver with that error. | None recorded in the model |
| Java | io Grows this pane by a number of cells in one direction. | None recorded in the model |
| Swift | Server Sets a pane's size outright. | on Server |
| OCaml | Libtmux 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. | free function |
| Perl | Lib resize_pane(pane => Pane|pane_id, width => positive_integer?, height => positive_integer?). | on Server Explicit Server operation. Captured entities remain local observations; use a new snapshot to observe changes. |
| Raku | Lib Set absolute dimensions or adjust one direction; these forms cannot be mixed. | on PaneRef |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
no direct equivalent; libtmux::Window::resize resizes the window, not a pane within it
No equivalent is recorded in PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.