On this page
LibTmux.Session.GetWindowAsync
- Module
- LibTmux
- Declared in
- Session
- Package
- LibTmux
- Source
- src/LibTmux/Session.Relations.cs
- GetWindowAsync ( target : string , cancellationToken : CancellationToken ) Task<Window?>
-
Reads one of this session's windows by target.
A target naming a window in another session answers null rather than that window: the question asked is which of this session's windows it is, and tmux resolving it elsewhere is not an answer to that.
- 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