Session.selectWindow
Select the last, next, or previous window, or one named by target.
Source and package
-
Examples#
await session.selectWindow("next");- Parameters
-
-
target(Window | WindowTarget ) #
-
tmux command#
The tmux commands behind selectWindow.
last-window (the target is "last") next-window (the target is "next") previous-window (the target is "previous") select-window (the target is not last, next or previous) tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Make a window of a session active
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Rust | no equivalent on Session |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | no equivalent on Session |
| Swift | no equivalent on Session |
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Elixir, Kotlin, Scala or F#.