# LibTmux.Internal.OptionParser.DecodeEscapes

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

```
LibTmux.Internal.OptionParser.DecodeEscapes(value: string) -> string
```

Decodes tmux's escaping without touching surrounding quotes.

tmux escapes option values and control-mode payloads the same way, but
only an option value can be quoted. A payload that happens to start and
end with a quote is data, so stripping stays with the caller that knows
which of the two it is holding.
