libtmux Reference MCP Search
On this page

io.github.libtmux.control.ControlClient.ControlClient.attach

View as Markdown

Module
io.github.libtmux.control.ControlClient
Declared in
ControlClient
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/control/ControlClient.java
Other languages
Python TypeScript RustGo.NETC++ Swift
attach ( config : ServerConfig , session : SessionId ) ControlClient ( config : ServerConfig , session : SessionId , timeout : Duration ) ControlClient
methodstaticoverload2 overloads [source]
methodstaticoverload2 overloads [source]
attach

Attaches a control client to an existing session.

<p>Attaching is what makes tmux push %output: a control client that never attaches is told about command replies and nothing else.

Parameters
  • config ( ServerConfig ) – which tmux and which server

  • session ( SessionId ) – the session to attach to

  • timeout ( Duration ) – how long to wait for the client to become ready

In other languages Attach a client to a session

0 declared, 0 inherited

Esc

Type to search.