# libtmux.Pane.send_prefix

- **Module:** libtmux.Pane
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/036c521c4b83ce6e434eb50afe2a0d08a6a05e46/src/libtmux/pane.py#L2231
- **Page:** https://libtmux.org/reference/py/libtmux-pane-send_prefix/

```
libtmux.Pane.send_prefix(self, secondary: bool | None = None) -> None
```

Send the prefix key to the pane via ``$ tmux send-prefix``.

## Parameters

- `self`
- `secondary` (bool | None) — Send the secondary prefix key (``-2`` flag).

## Example

```python
>>> pane.send_prefix()
```
