libtmux Reference MCP Search
On this page

tmux.Server.AttachSession

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_attach.go
Other languages
Python TypeScript RustJava.NETC++ Swift
AttachSession ( ctx : context.Context , request : AttachSessionRequest ) error
method [source]
method [source]
AttachSession

AttachSession attaches the caller's terminal to a matching session and blocks until detach or context cancellation. Nil standard streams inherit the process streams; each stream must be a concrete terminal descriptor. The call retains caller-supplied files while attached and never owns or closes them. A completed nonzero exit returns CommandError ; cancellation can end waiting but does not prove that attachment or detachment did not occur.

In other languages Attach a client to a session

0 declared, 0 inherited

Esc

Type to search.