Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

method libtmux-dotnet latest

Window.FromEnvironmentAsync

Namespace LibTmux.Window.FromEnvironmentAsync LibTmux

Returns the window holding the pane this process runs in.

View as Markdown

Source and package
Module
LibTmux
Declared in
Window
Package
LibTmux
Source
src/LibTmux/Window.FromEnvironment.cs
FromEnvironmentAsync ( environment : IReadOnlyDictionary<string, string>? , cancellationToken : CancellationToken ) → Task<Window>
methodstaticasync [source]

Description#

Resolved through the pane rather than through the session id in TMUX, which is frozen at pane spawn and goes stale when the window is moved.

Parameters
Returns

The resolved window.

Discussed in Environment

Esc

Type to search.