Window.cmd
Run a tmux command this package does not model, addressed at this window.
Source and package
-
Description#
The window's id is sent as the target; pass
targetto address something else, ornullfor a command that takes none —display-panestakes a client, so it wants{ target: null }and not this window's@n.Examples#
await window.cmd("rotate-window");
In other ports#
Run a tmux command addressed at a window
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Rust | window |
| Go | tmux |
| Java | no equivalent on Window |
| C# | no equivalent on Window |
| C++ | no equivalent on Window |
| Swift | no equivalent on Window |
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Elixir, Kotlin, Scala or F#.