Server.select_window
select_window(link => WindowLink|session_id:index).
Source and package
-
Description#
Select a
LibTmux::WindowLinkwithin its session. A physical window alone cannot identify session-relative active state. Capture again through"snapshot"to observe the selected link.Returns
undefafter command acceptance. Performs I/O; failures propagate throughLibTmux::X. Captured objects are not modified.$server->select_window(link => $link);Methods#
tmux command#
The tmux commands behind select_window.
display-message (daemon identity or target preflight) select-window tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Make a window active
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Lua | libtmux |
| Erlang | tmux Selects a captured membership in its session. |
| 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 Ruby, PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.