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

Session.AttachAsync

Namespace LibTmux.Session.AttachAsync LibTmux

Attaches a client to this session.

View as Markdown

Source and package
Module
LibTmux
Declared in
Session
Package
LibTmux
Source
src/LibTmux/Session.Lifecycle.cs
AttachAsync ( request : AttachSessionRequest? , cancellationToken : CancellationToken ) → Task<Session>
methodasync [source]

Description#

Attaching inherits the caller's terminal on stdin and waits for detach. A positive acknowledgement is required within five seconds, or a shorter CommandTimeout . CommandTimeout still bounds the whole attachment; null permits an indefinite interactive lifetime after acknowledgement. Cancellation stops only the owned client. Target remains a raw target override; leave it unset to attach this session by its identifier.

Parameters
Returns

A refreshed handle for this session.

Esc

Type to search.