# window.Window.unsetOption

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

```
window.Window.unsetOption(name: : string) -> Promise<void>
```

Remove an option from this window.

## Example

```ts
await window.unsetOption("automatic-rename");
```
