libtmux Reference MCP Search
On this page

LibTmux.Internal.OptionParser

View as Markdown

Module
LibTmux.Internal
Package
LibTmux
Source
src/LibTmux/Internal/OptionParser.cs
class LibTmux.Internal.OptionParser
classstatic [source]
classstatic [source]
class LibTmux.Internal.OptionParser

Reads what show-options 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 \t -- so splitting on whitespace would lose it. Each line is cut once, at the first space, and the remainder unescaped.

7 declared, 0 inherited

Members

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

Type to search.