Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

View as Markdown

Module
window
Declared in
Window
Package
libtmux
Source
packages/libtmux/src/window.ts
Other languages
PythonRubyLuaRustGoJava.NETC++Swift
rename ( name : : string ) → Promise<void>
method [source]
method [source]
rename

Rename this window.

Refuses a name the supported servers would not store identically.

In other ports Rename a window

Examples

await window.rename("editor");
>>> 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 ...))

0 declared, 0 inherited

Esc

Type to search.