# Libtmux_unix.Terminal

- **Package:** libtmux-unix
- **Language:** OCaml
- **Kind:** module
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/unix/libtmux_unix.mli#L81
- **Public owner:** Libtmux_unix
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux_unix-terminal/

```ocaml
module Terminal
```

Interactive attachment using borrowed application streams. This utility addresses the current daemon explicitly and does not reuse captured targets.

## Members

### Other members

- [`attach_current`](/en/ocaml/latest/reference/libtmux_unix-terminal-attach_current/) (function): Run an interactive terminal client until it exits. Select the exact session ID on the daemon currently listening at `endpoint`; this is explicitly unbound and accepts no captured target. No retry or daemon startup occurs. A successful result proves client exit, not continued attachment. Diagnostics go to `stderr`.
