On this page
libtmux.Session.attach
- Module
- libtmux
- Declared in
- Session
- Package
- libtmux
- Source
- src/libtmux/session.py
- Other languages
- TypeScript RustGoJava.NETC++ Swift
-
-
Return
$ tmux attach-sessionaka alias:$ tmux attach.Examples
>>> session = server.new_session()>>> session not in server.attached_sessions TrueIn other languages Attach a client to a session
- TypeScript no direct equivalent; the client is out of scope for this port
- Rust
control.ControlMode.attach - Go
tmux.Server.AttachSession - Java
io.github.libtmux.control.ControlClient.ControlClient.attach - .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