Window.SelectAsync
Selects this window in its session.
Source and package
- Qualified name
-
LibTmux .Window. Select Async - Namespace
- LibTmux
- Declared in
Window- Package
- LibTmux
- Source
- src/LibTmux/Window.Lifecycle.cs
- async Task<Window> SelectAsync( Cancellation
Token cancellationToken = default ) -
- Parameters
-
-
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
-
- Returns
-
A replacement handle carrying the state after selection.
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.Window.SelectAsync.
tmux command
task materialThe tmux commands behind SelectAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 12 other ports mappedSource-verified mappings for Make a window 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 this window in its session. | This page |
| Python | libtmux Select window. | None recorded in the model |
| Lua | libtmux | on WindowLink |
| Erlang | tmux Select this membership as its session's current window after checking the expected physical window. Performs I/O and returns the command result. | free function Selects a captured membership in its session. |
| TypeScript | window Make this window active in its session. | None recorded in the model |
| Rust | window Make this window active in the session it was reached through. | None recorded in the model |
| Go | tmux Select makes the receiver's exact winlink current in its session. It does not promise focus for clients attached to other sessions. Select returns a canonical freshly materialized Window, which may use another linked session for the same WindowID. If the command succeeds but refresh fails, it returns the receiver with that error. A transport or context error can be delivery-ambiguous; no rollback is attempted. | None recorded in the model |
| Java | io Makes this the active window of its session. | None recorded in the model |
| C++ | libtmux:: | readonly |
| Swift | Server | on Server2 overloads |
| OCaml | Libtmux Operate on the session's current index at execution, not an old link incarnation. | free function |
| Perl | Lib select_window(link => WindowLink|session_id:index). | on Server Requires an explicit WindowLink or session_id:index context; a physical window alone does not select a session placement. |
| Raku | Lib Select the exact pane or verified session-relative window placement. | on WindowLinkRef |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
No equivalent is recorded in Ruby, PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.