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.
Source and package
- Qualified name
-
Libtmux_eio .Client. rename _window - Module
- Libtmux_eio
- Declared in
Client- Package
- libtmux-eio
- Source
- eio/libtmux_eio.mli
- Other languages
- Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp PythonRubyLuaTypeScriptRustGoJavaC#C++Swift Kotlin Scala F# Clojure
- val rename_window : t -> Libtmux
.Window -> name:string -> (unit, Libtmux.target .Error ) result.t -
Public owner:
Libtmux_eio
tmux command#
The tmux commands behind rename_window.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Rename a window
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| Erlang | tmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | window |
| Rust | window |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | Server |
| Perl | Lib Explicit Server operation. Captured entities remain local observations; use a new snapshot to observe changes. |
No equivalent is recorded in PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.