# LibTmux.Internal.OptionParser.ParseComplex

- **Module:** LibTmux.Internal.OptionParser
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Internal/OptionParser.cs#L120
- **Page:** https://libtmux.org/reference/dotnet/libtmux-internal-optionparser-parsecomplex/

```
LibTmux.Internal.OptionParser.ParseComplex(options: IReadOnlyList<TmuxOption>) -> IReadOnlyDictionary<string, object?>
```

Groups options into the structures tmux packs into their text.

Three tmux options carry a table: <c>terminal-features</c> lists
features per terminal; <c>terminal-overrides</c> maps capabilities
per terminal; <c>command-alias</c> maps alias to command. Anything
else is a lone value, or the sparse index map an array option is.

## Parameters

- `options` (IReadOnlyList<TmuxOption>) — The options to group.

## Returns

Each option name mapped to its structured value.
