# pane.Pane.showOptions

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

```
pane.Pane.showOptions() -> Promise<ReadonlyMap<string, string>>
```

Every option set on this pane itself, not the ones it inherits.

A fresh pane usually has none, so an empty map here means nothing was
set on this pane — not that the option has no value. `showResolvedOptions`
answers what actually governs it.

## Example

```ts
const options = await pane.showOptions();
options.get("remain-on-exit");
```
