# LibTmux.Internal.OptionParser

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

Reads what <c>show-options</c> printed.

tmux escapes an option value the way its own parser reads it back, not
the way a shell quotes -- a tab returns as literal <c>\t</c> -- so
splitting on whitespace would lose it. Each line is cut once, at the
first space, and the remainder unescaped.

## Members

- `ParseValue` (method) — Reads one option value.
- `ParseValues` (method) — Reads a run of option values.
- `ParseRows` (method) — Reads the lines <c>show-options</c> printed.
- `ParseSparse` (method) — Reads lines whose options are arrays even when tmux omits the index.
- `ParseComplex` (method) — Groups options into the structures tmux packs into their text.
- `Unescape` (method) — Undoes the escaping tmux applies when it prints a value.
- `DecodeEscapes` (method) — Decodes tmux's escaping without touching surrounding quotes.
