# window.Window.showResolvedOptions

- **Module:** window
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/073b9d7dedad900bff6f5ec0ea47794e40225870/packages/libtmux/src/window.ts#L247
- **Page:** https://libtmux.org/en/ts/latest/reference/window-window-showresolvedoptions/

```
showResolvedOptions(
  options?: CommandOptions,
): Promise<ReadonlyMap<string, string>>
```

The option values that govern this window, own and inherited together.

[`showOptions`](/en/ts/latest/reference/window-window-showoptions/) reports only what was set here, which for a fresh window is
often nothing. This resolves what it inherits as well, so an option has an
answer wherever it was actually set.

## Examples

```ts
(await window.showResolvedOptions()).get("main-pane-width");
```

## Parameters

- `options?` (`CommandOptions`)

## tmux command

The tmux commands behind `showResolvedOptions`.

- [`show-options`](/en/tmux/latest/manual/show-options/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_show_options_entry`](/en/tmux/latest/reference/c-variable-cmd_show_options_entry/) (attribute)
- [`cmd_show_options_exec`](/en/tmux/latest/reference/c-function-cmd-show-options-c-cmd_show_options_exec/) (function)
