Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

method libtmux-dotnet

Window.ResizeAsync

Resizes this window.

Source and package
Qualified name
LibTmux.Window.ResizeAsync
Namespace
LibTmux
Declared in
Window
Package
LibTmux
Source
src/LibTmux/Window.Layout.cs

Description

Resizing switches the window's window-size option to manual, so it stops following its clients.

Parameters
Returns

A replacement handle carrying the new size.

Recorded calls

source calls
No call edges in the C# model.

The 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 material

The tmux commands behind ResizeAsync.

tmux C API

task material

The C declarations in tmux that implement these commands.

In other ports

task equivalence 10 other ports mapped

Source-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.

Resize a window in each port
PortAPIDiffers from C#
C# LibTmux.Window.ResizeAsync
Resizes this window.
This page
Python libtmux.Window.resize
Resize tmux window.
None recorded in the model
Ruby LibTmux::Window#resize
Behavior: Entity mutation.
None recorded in the model
Lua libtmux.Window:resize None recorded in the model
TypeScript window.Window.resize
Resize this window, by a direction, to a size, or to what its clients allow.
None recorded in the model
Rust window.Window.resize
Resize the window to an exact size in cells.
None recorded in the model
Go tmux.Window.Resize
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.github.libtmux.Window.resizeTo
Resizes this window in terminal cells.
None recorded in the model
C++ libtmux::Window::resize readonly
OCaml Libtmux_unix.Client.resize_window
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 LibTmux::Model::WindowRef.resize
Set absolute dimensions or adjust one direction; these forms cannot be mixed.
on WindowRef
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No Swift equivalent.

both Server.resize overloads size a pane, not a window

No Perl equivalent.

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#.

Esc
Search in

Type to search.

Reference previewOpen reference