# pane.Pane.pasteBuffer

- **Module:** pane.Pane
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/libtmux/src/pane.ts#L390
- **Page:** https://libtmux.org/en/ts/latest/reference/pane-pane-pastebuffer/

```
pane.Pane.pasteBuffer(name: : string) -> Promise<void>
```

Paste a named buffer into this pane, as if it were typed.

The program running in the pane sees ordinary input, so a shell runs what
arrives. {@link Server.loadBuffer} fills the buffer beforehand.

## Example

```ts
await pane.pasteBuffer("greeting");
```
