# LibTmux.OutputWaitEnded

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Julia
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-julia/blob/1a68a11f071686736937d027b190b43cf946c385/src/observation.jl#L23
- **Bases:** [`LibTmux.LibTmuxError`](/en/julia/latest/reference/libtmux-libtmuxerror/)
- **Page:** https://libtmux.org/en/julia/latest/reference/libtmux-outputwaitended/

```
LibTmux.OutputWaitEnded(reason, text, cursor)

LibTmux.OutputWaitEnded(
    reason::Symbol,
    text::String,
    cursor::LibTmux.ObservationCursor,
)
```

A wait that ended because the pane or the tmux server is gone. `reason` is `:pane_exited` or `:server_exited`; `text` is the output the wait had seen and `cursor` the last accepted position. Unlike [`ObservationLost`](/en/julia/latest/reference/libtmux-observationlost/), nothing is left to observe, so a new baseline cannot help.

## Methods

### `LibTmux.OutputWaitEnded(reason, text, cursor)`

[Source](https://github.com/libtmux/libtmux-julia/blob/1a68a11f071686736937d027b190b43cf946c385/src/observation.jl#L30).

### `OutputWaitEnded` (overload 2)

```julia
LibTmux.OutputWaitEnded(
    reason::Symbol,
    text::String,
    cursor::LibTmux.ObservationCursor,
)
```

[Source](https://github.com/libtmux/libtmux-julia/blob/1a68a11f071686736937d027b190b43cf946c385/src/observation.jl#L30).

## Parameters

- `reason` (`Any`) (for `OutputWaitEnded(reason, text, cursor) [overload 1]`)
- `text` (`Any`) (for `OutputWaitEnded(reason, text, cursor) [overload 1]`)
- `cursor` (`Any`) (for `OutputWaitEnded(reason, text, cursor) [overload 1]`)
- `reason` (`Symbol`) (for `OutputWaitEnded(reason, text, cursor) [overload 2]`)
- `text` (`String`) (for `OutputWaitEnded(reason, text, cursor) [overload 2]`)
- `cursor` (`LibTmux.ObservationCursor`) (for `OutputWaitEnded(reason, text, cursor) [overload 2]`)

## Members

### Other members

- [`cursor`](/en/julia/latest/reference/libtmux-outputwaitended-cursor/) (property)
- [`reason`](/en/julia/latest/reference/libtmux-outputwaitended-reason/) (property)
- [`text`](/en/julia/latest/reference/libtmux-outputwaitended-text/) (property)

## Guides

Pages that discuss `OutputWaitEnded`.

- [Observing output](/en/julia/latest/topics/observations/)
