Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

method libtmux-dotnet

Session.SelectPreviousWindowAsync

Selects the previous window.

Source and package
Qualified name
LibTmux.Session.SelectPreviousWindowAsync
Namespace
LibTmux
Declared in
Session
Package
LibTmux
Source
src/LibTmux/Session.Lifecycle.cs
async Task<Window> SelectPreviousWindowAsync( CancellationToken cancellationToken = default )
Parameters
Returns

The window that is active afterwards.

Recorded calls

source calls
No call edges in the C# model.

The 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 material

The tmux commands behind SelectPreviousWindowAsync.

tmux C API

task material

The C declarations in tmux that implement these commands.

In other ports

task equivalence 7 other ports mapped

Source-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.

Move to the previous window of a session in each port
PortAPIDiffers from C#
C# LibTmux.Session.SelectPreviousWindowAsync
Selects the previous window.
This page
Python libtmux.Session.previous_window
Select the previous window.
None recorded in the model
Rust session.Session.previous_window
Move to the previous window, and return it.
None recorded in the model
Go tmux.Session.PreviousWindow
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.github.libtmux.Session.previousWindow
Moves to the previous window in this session, wrapping at the start.
None recorded in the model
C++ libtmux::Session::select_previous_window readonly
Swift Server.selectPreviousWindow(in:) on Server
Raku LibTmux::Model::SessionRef.previous-window
Select the previous session window, optionally restricting to activity alerts.
on SessionRef
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No TypeScript equivalent.

Session.selectWindow takes next, previous or last

No OCaml equivalent.

No direct public OCaml equivalent is recorded for this operation.

No Perl equivalent.

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#.

Esc
Search in

Type to search.

Reference previewOpen reference