# pane.Pane.setTitle

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

```
pane.Pane.setTitle(title: : string) -> Promise<void>
```

Set this pane's title.

The title is what `#{pane_title}` reports and what a `pane-border-format`
draws; a program running in the pane can also set it through the terminal,
so it is not solely the caller's to own.

## Example

```ts
await pane.setTitle("build");
```
