# window.Window.showOptions

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

```
window.Window.showOptions() -> Promise<ReadonlyMap<string, string>>
```

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

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

## Example

```ts
const options = await window.showOptions();
options.get("automatic-rename");
```
