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

Pane.ResizeAsync

Resizes this pane.

Source and package
Qualified name
LibTmux.Pane.ResizeAsync
Namespace
LibTmux
Declared in
Pane
Package
LibTmux
Source
src/LibTmux/Pane.Topology.cs

Description

tmux clamps a size that does not fit rather than refusing it, so the result may differ from what was asked for.

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.Pane.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 12 other ports mapped

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

Resize a pane in each port
PortAPIDiffers from C#
C# LibTmux.Pane.ResizeAsync
Resizes this pane.
This page
Python libtmux.Pane.resize
Resize tmux pane.
None recorded in the model
Ruby LibTmux::Pane#resize
Behavior: Entity mutation.
None recorded in the model
Lua libtmux.Pane:resize None recorded in the model
Erlang tmux_pane:resize/2
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.Pane.resize
Resize this pane; tmux ignores a dimension its layout cannot honour.
None recorded in the model
Rust pane.Pane.resize
Resize the pane to an exact size in cells.
None recorded in the model
Go tmux.Pane.Resize
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.github.libtmux.Pane.resize
Grows this pane by a number of cells in one direction.
None recorded in the model
Swift Server.resize(_:width:height:)
Sets a pane's size outright.
on Server
OCaml Libtmux_unix.Client.resize_pane
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 LibTmux::Server::resize_pane
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 LibTmux::Model::PaneRef.resize
Set absolute dimensions or adjust one direction; these forms cannot be mixed.
on PaneRef
No Haskell equivalent.

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

No C++ equivalent.

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

Esc
Search in

Type to search.

Reference previewOpen reference