Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

LibTmux.Session.FindWindowAsync

.NET
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
LibTmux
Declared in
Session
Package
LibTmux
Source
src/LibTmux/Session.Relations.cs
FindWindowAsync ( id : WindowId , cancellationToken : CancellationToken ) → Task<Window?> ( target : string , cancellationToken : CancellationToken ) → Task<Window?>
methodasyncoverload2 overloads [source]
methodasyncoverload2 overloads [source]
FindWindowAsync

Reads one of this session's windows by identifier.

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
  • target ( string ) – A tmux window target inside this session.

  • cancellationToken ( CancellationToken ) – Cancels the tmux command.

Returns

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

0 declared, 0 inherited

Esc

Type to search.