Server.rename_window
rename_window(window => Window|window_id, name => string).
Source and package
-
Description#
Rename the physical
LibTmux::Windowacross all its links. Names remain literal rather than expanding tmux formats. Captured handles keep their observed name.Returns
undefafter command acceptance. Performs I/O; failures propagate throughLibTmux::X. Captured objects are not modified.$server->rename_window(window => $window, name => 'logs');Methods#
tmux command#
The tmux commands behind rename_window.
display-message (daemon identity or target preflight) 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 |
| OCaml | Libtmux |
No equivalent is recorded in PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.