Session.SelectWindowAsync
Selects a window in this session.
Source and package
- Qualified name
-
LibTmux .Session. Select Window Async - Namespace
- LibTmux
- Declared in
Session- Package
- LibTmux
- Source
- src/LibTmux/Session.Lifecycle.cs
- async Task<Window> SelectWindowAsync( string target, Cancellation
Token cancellationToken = default ) -
- Parameters
-
-
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
- Returns
-
The window that is active afterwards.
Recorded calls
source callsThe C# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Session.SelectWindowAsync.
tmux command
task materialThe tmux commands behind SelectWindowAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 4 other ports mappedSource-verified mappings for Make a window of a session active. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.
| Port | API | Differs from C# |
|---|---|---|
| C# | Lib Selects a window in this session. | This page |
| Python | libtmux Select window and return the selected window. | None recorded in the model |
| TypeScript | session Select the last, next, or previous window, or one named by target. | None recorded in the model |
| Go | tmux SelectWindow makes one winlink current in the receiver session and returns that freshly materialized session-specific Window. WindowID is combined with the receiver SessionID, because a WindowID alone does not distinguish linked views. The selection is session-scoped; it does not promise focus for clients attached to other sessions. | None recorded in the model |
| Java | io Makes a window of this session the active one. | None recorded in the model |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
no equivalent on Session
no equivalent on Session
no equivalent on Session
No direct public OCaml equivalent is recorded for this operation.
No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.
No direct Raku mapping is recorded for this operation; consult the native API reference.
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.