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: ::Lib
Tmux:: , terminal: ::IO, term: ::String, ?read_only: bool, ?timeout: ::Numeric?, ?cancel: untyped ) -> ::LibEntity Ref Tmux:: Terminal Result -
Description#
Behavior contract: Terminal attachment.
- Raises
-
-
ArgumentError
-