Window.RenameAsync
Renames this window.
Source and package
- Qualified name
-
LibTmux .Window. Rename Async - Namespace
- LibTmux
- Declared in
Window- Package
- LibTmux
- Source
- src/LibTmux/Window.Lifecycle.cs
- async Task<Window> RenameAsync( string name, Cancellation
Token cancellationToken = default ) -
- Parameters
-
-
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
- Returns
-
A replacement handle carrying the new name.
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.RenameAsync.
tmux command
task materialThe tmux commands behind RenameAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 13 other ports mappedSource-verified mappings for Rename 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 Renames this window. | This page |
| Python | libtmux Rename window. | None recorded in the model |
| Ruby | Lib Behavior: Entity mutation. | None recorded in the model |
| Lua | libtmux | None recorded in the model |
| Erlang | tmux Rename the registered physical window with a literal name. Performs I/O and returns the command result. Captured rows and snapshots remain unchanged. | free function |
| TypeScript | window Rename this window. | None recorded in the model |
| Rust | window Rename the window and update this handle. | None recorded in the model |
| Go | tmux Rename changes the stable window through the receiver's exact winlink and returns a canonical freshly materialized Window. The returned winlink may therefore use another session when the WindowID is linked. If the command succeeds but refresh fails, Rename returns the receiver with that error. A transport or context error can be delivery-ambiguous; no rollback is attempted. | None recorded in the model |
| Java | io Renames this window and returns its replacement capture. | None recorded in the model |
| C++ | libtmux:: | readonly |
| Swift | Server | on Server2 overloads |
| OCaml | Libtmux Set the global window name. Every session link observes the new name on its next capture; existing snapshots retain the old value. | free function |
| Perl | Lib rename_window(window => Window|window_id, name => string). | on Server Explicit Server operation. Captured entities remain local observations; use a new snapshot to observe changes. |
| Raku | Lib Store the exact name; refuse characters or separators the daemon would change. | on WindowRef |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
No equivalent is recorded in PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.