Session.SelectPreviousWindowAsync
Selects the previous window.
Source and package
- Qualified name
-
LibTmux .Session. Select Previous Window Async - Namespace
- LibTmux
- Declared in
Session- Package
- LibTmux
- Source
- src/LibTmux/Session.Lifecycle.cs
- async Task<Window> SelectPreviousWindowAsync( 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.SelectPreviousWindowAsync.
tmux command
task materialThe tmux commands behind SelectPreviousWindowAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 7 other ports mappedSource-verified mappings for Move to the previous window of a session. 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 the previous window. | This page |
| Python | libtmux Select the previous window. | None recorded in the model |
| Rust | session Move to the previous window, and return it. | None recorded in the model |
| Go | tmux PreviousWindow makes the previous winlink current in the receiver session and returns that freshly materialized session-specific Window. The selection is session-scoped; it does not promise focus for clients attached to other sessions. A transport or context error can be delivery-ambiguous and no rollback is attempted. Command or refresh failure returns a zero Window. | None recorded in the model |
| Java | io Moves to the previous window in this session, wrapping at the start. | None recorded in the model |
| C++ | libtmux:: | readonly |
| Swift | Server | on Server |
| Raku | Lib Select the previous session window, optionally restricting to activity alerts. | on SessionRef |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
Session.selectWindow takes next, previous or last
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 equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.