On this page
window.Window.rename
- Module
- window
- Declared in
- Window
- Package
- @libtmux/libtmux
- Source
- packages/libtmux/src/window.ts
- Other languages
- PythonRustGoJava.NETC++Swift
-
Rename this window.
Refuses a name the supported servers would not store identically.
Examples
await window.rename("editor");In other languages 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