# pane.Pane.chooseBuffer

- **Module:** pane.Pane
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/libtmux/src/pane.ts#L495
- **Page:** https://libtmux.org/reference/ts/pane-pane-choosebuffer/

```
pane.Pane.chooseBuffer() -> Promise<void>
```

Open the interactive buffer chooser in this pane.

tmux needs a client attached to the session to draw this. With none, it
does nothing and reports success, so a headless run is told it worked.

## Example

```ts
await pane.chooseBuffer();
```
