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

Attaches a client to this session.

Source and package
Qualified name
LibTmux.Session.AttachAsync
Namespace
LibTmux
Declared in
Session
Package
LibTmux
Source
src/LibTmux/Session.Lifecycle.cs

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.

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

tmux command

task material

The tmux commands behind AttachAsync.

tmux C API

task material

The C declarations in tmux that implement these commands.

Esc
Search in

Type to search.

Reference previewOpen reference