libtmux Reference MCP Search
On this page

LibTmux.Internal.OptionParser.ParseSparse

View as Markdown

Module
LibTmux.Internal
Declared in
OptionParser
Package
LibTmux
Source
src/LibTmux/Internal/OptionParser.cs
ParseSparse ( rows : IReadOnlyList<string> ) IReadOnlyList<TmuxOption>
methodstatic [source]
methodstatic [source]
ParseSparse

Reads lines whose options are arrays even when tmux omits the index.

Hooks are always arrays, and a hook with one entry prints without the [0] that a second entry would give it. Reading those lines as arrays keeps a hook the same shape however many entries it has.

Parameters
Returns

One option per non-empty line, each carrying an index.

0 declared, 0 inherited

Esc

Type to search.