On this page
LibTmux.Internal.OptionParser.ParseSparse
- Module
- LibTmux.Internal
- Declared in
- OptionParser
- Package
- LibTmux
- Source
- src/LibTmux/Internal/OptionParser.cs
- ParseSparse ( rows : IReadOnlyList<string> ) IReadOnlyList<TmuxOption>
-
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
-
-
rows ( IReadOnlyList<string> ) – The output lines.
-
- Returns
-
One option per non-empty line, each carrying an index.
0 declared, 0 inherited