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

Reads one of this session's windows by identifier.

Source and package
Qualified name
LibTmux.Session.FindWindowAsync
Namespace
LibTmux
Declared in
Session
Package
LibTmux
Source
src/LibTmux/Session.Relations.cs

Description

A typed identifier is unique in a session that links a window at only one index; the string overload also accepts a window name, which two windows can share. When this session links the same window at more than one index, this returns whichever placement tmux lists first.

Parameters
  • id (WindowId) – The window identifier to look for. for FindWindowAsync(id, cancellationToken)

  • cancellationToken (CancellationToken) – Cancels the tmux command.

    Default default

  • target (string) – A tmux window target inside this session. for FindWindowAsync(target, cancellationToken)

Returns

The window, or null when this session has no such window.

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

tmux command

task material

The tmux commands behind FindWindowAsync.

tmux C API

task material

The C declarations in tmux that implement these commands.

Esc
Search in

Type to search.

Reference previewOpen reference