Core LibraryAPI Reference

Choose documentation 3

Concept and alpha: example support scope and release maturity.

v0.1.0.alpha.2

Current version

v0.1.0.alpha.2
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.2

Server.attach

Module LibTmux::Server#attach LibTmux

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

Source and package
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.

Raises
  • ArgumentError

Esc

Type to search.

Reference preview Open reference