# pane.Pane.sendKeys

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

```
pane.Pane.sendKeys(keys: : string, options: : SendKeysOptions) -> Promise<void>
```

Send keys to this pane, following them with Enter unless told not to.

## Example

```ts
await pane.sendKeys("echo hello");
await pane.sendKeys("C-c", { literal: false });
```
