Window.ResizeAsync
Resizes this window.
Source and package
- Qualified name
-
LibTmux .Window. Resize Async - Namespace
- LibTmux
- Declared in
Window- Package
- LibTmux
- Source
- src/LibTmux/Window.Layout.cs
- async Task<Window> ResizeAsync( Resize
Window request, CancellationRequest Token cancellationToken = default ) -
Description
Resizing switches the window's
window-sizeoption to manual, so it stops following its clients.- Parameters
-
-
request(ResizeWindow ) – 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.Window.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 10 other ports mappedSource-verified mappings for Resize a window. 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 window. | This page |
| Python | libtmux Resize tmux window. | None recorded in the model |
| Ruby | Lib Behavior: Entity mutation. | None recorded in the model |
| Lua | libtmux | None recorded in the model |
| TypeScript | window Resize this window, by a direction, to a size, or to what its clients allow. | None recorded in the model |
| Rust | window Resize the window to an exact size in cells. | None recorded in the model |
| Go | tmux Resize changes the stable window's size through the receiver's exact winlink. It does not select the window or promise any client focus. Resize returns a canonical freshly materialized Window, which may use another linked session for the same WindowID. If the command succeeds but refresh fails, it returns the receiver with that error; other command failures return a zero Window. A transport or context error can be delivery-ambiguous and no rollback is attempted. | None recorded in the model |
| Java | io Resizes this window in terminal cells. | None recorded in the model |
| C++ | libtmux:: | readonly |
| OCaml | Libtmux Request positive cell dimensions, supplying at least one dimension. Omit either dimension to retain it. Client-size and window-size policies can affect subsequent sizing. | free function |
| Raku | Lib Set absolute dimensions or adjust one direction; these forms cannot be mixed. | on WindowRef |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
both Server.resize overloads size a pane, not a window
No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.
No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.