# LibTmux.Pane.ChooseBufferAsync

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

tmux command: [`choose-buffer`](/en/tmux/latest/manual/choose-buffer/)

```
LibTmux.Pane.ChooseBufferAsync(cancellationToken: CancellationToken) -> Task
```

Opens the buffer chooser in this pane.

tmux does nothing, successfully, when there are no buffers.

## Parameters

- `cancellationToken` (`CancellationToken`): Cancels the tmux command.
