# tmux_pane:pipe_options/0

- **Package:** libtmux_erlang
- **Language:** Erlang
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-erlang/blob/d1b6308440cf9eb8f6647e7ae434bce60e849368/apps/libtmux_erlang/src/tmux_pane.erl#L61
- **Page:** https://libtmux.org/en/erlang/latest/reference/t-tmux_pane-pipe_options-0/

```
-type pipe_options() ::
          #{direction => output | input | both,
            toggle => boolean()}.
```

Pipe direction defaults to output. toggle defaults false; true closes an existing pipe instead of replacing it.
