# LibTmux.Pane.SendPrefixAsync

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Pane.Input.cs#L124
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-pane-sendprefixasync/

tmux command: [`send-prefix`](/en/tmux/latest/manual/send-prefix/)

```
LibTmux.Pane.SendPrefixAsync(secondary: bool, cancellationToken: CancellationToken) -> Task
```

Sends the configured prefix key to the pane.

## Parameters

- `secondary` (`bool`): Whether the secondary prefix is sent.
- `cancellationToken` (`CancellationToken`): Cancels the tmux command.
