libtmux Reference MCP Search
On this page

LibTmux.Window.RenameAsync

View as Markdown

Module
LibTmux
Declared in
Window
Package
LibTmux
Source
src/LibTmux/Window.Lifecycle.cs
Other languages
PythonTypeScriptRustGoJavaC++Swift
RenameAsync ( name : string , cancellationToken : CancellationToken ) Task<Window>
methodasync [source]
methodasync [source]
RenameAsync

Renames this window.

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

Parameters
Returns

A replacement handle carrying the new name.

In other languages Rename a window

Examples

>>> window = session.active_window
>>> window.rename_window('My project')
Window(@1 1:My project, Session($1 ...))
>>> window.rename_window('New name')
Window(@1 1:New name, Session($1 ...))
await window.rename("editor");

0 declared, 0 inherited

Esc

Type to search.