Core Library0.xAPI Reference

Choose documentation 3

v0.1.1

Current version

v0.1.1
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-ruby v0.1.1

Server.attach

Blocks until the owned interactive client exits. The caller supplies and retains its TTY. Cancellation detaches this client, not pane commands.

Source and package
Qualified name
LibTmux::Server#attach
Module
LibTmux
Declared in
Server
Package
libtmux
Source
gems/libtmux/lib/libtmux/terminal.rb
def attach: ( session: ::LibTmux::EntityRef, terminal: ::IO, term: ::String, ?read_only: bool, ?timeout: ::Numeric?, ?cancel: untyped ) -> ::LibTmux::TerminalResult

Description#

Behavior contract: Terminal attachment.

Parameters
Raises
  • ArgumentError

tmux command#

The tmux commands behind attach.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference