# LibTmux.Control.terminal_diagnostic/0

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Elixir
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-elixir/blob/ce52194a746ce1d6785c352a731cff734e0d11ce/lib/libtmux/control.ex#L67
- **Page:** https://libtmux.org/en/elixir/latest/reference/libtmux-control-terminal_diagnostic-0/

```
@type terminal_diagnostic() :: %{
        reason: atom(),
        phase: atom(),
        stderr: binary()
      }
```

An observed close reason, its error phase and at most 8192 captured stderr bytes; not proof of effects or complete stderr.
