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

Renames this window.

Source and package
Qualified name
LibTmux.Window.RenameAsync
Namespace
LibTmux
Declared in
Window
Package
LibTmux
Source
src/LibTmux/Window.Lifecycle.cs

Description

tmux expands the name as a format, so a # in it does not survive verbatim.

Parameters
Returns

A replacement handle carrying the new name.

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

tmux command

task material

The tmux commands behind RenameAsync.

tmux C API

task material

The C declarations in tmux that implement these commands.

In other ports

task equivalence 13 other ports mapped

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

Rename a window in each port
PortAPIDiffers from C#
C# LibTmux.Window.RenameAsync
Renames this window.
This page
Python libtmux.Window.rename_window
Rename window.
None recorded in the model
Ruby LibTmux::Window#rename
Behavior: Entity mutation.
None recorded in the model
Lua libtmux.Window:rename None recorded in the model
Erlang tmux_window:rename/2
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.Window.rename
Rename this window.
None recorded in the model
Rust window.Window.rename
Rename the window and update this handle.
None recorded in the model
Go tmux.Window.Rename
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.github.libtmux.Window.rename
Renames this window and returns its replacement capture.
None recorded in the model
C++ libtmux::Window::rename readonly
Swift Server.rename(_:to:) on Server2 overloads
OCaml Libtmux_unix.Client.rename_window
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 LibTmux::Server::rename_window
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 LibTmux::Model::WindowRef.rename
Store the exact name; refuse characters or separators the daemon would change.
on WindowRef
No Haskell equivalent.

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

Esc
Search in

Type to search.

Reference previewOpen reference