Core LibraryalphaAPI Reference

Choose documentation 3

v0.1.0.alpha.3

Current version

v0.1.0.alpha.3
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

method libtmux-ruby v0.1.0.alpha.3

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

Esc

Type to search.

Reference preview Open reference