On this page
io.github.libtmux.control.ControlClient.ControlClient.attach
- 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
-
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
- Python
libtmux.Session.attach - TypeScript no direct equivalent; the client is out of scope for this port
- Rust
control.ControlMode.attach - Go
tmux.Server.AttachSession - .NET
LibTmux.Server.AttachSessionAsync - C++
libtmux::Session::attach_command - Swift reached through `Server.connected(attachingTo:)`, which scopes a block rather than attaching a client
0 declared, 0 inherited