Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

struct libtmux-dotnet latest

TmuxOptionValue

Namespace LibTmux.TmuxOptionValue LibTmux

One option value as tmux reported it.

View as Markdown

Source and package
Module
LibTmux
Package
LibTmux
Source
src/LibTmux/Options/TmuxOptionValue.cs
struct LibTmux.TmuxOptionValue
struct [source]

Description#

tmux has no types: every option comes back as text. The typed readings sit alongside Raw rather than replacing it, so a caller that knows better than the guess can always reach what tmux actually said.

Members5 members#

Other members5 members#

  • Boolean property Gets the flag reading, or null when the value is not a flag.
  • Integer property Gets the whole-number reading, or null when the value is not one.
  • Raw property Gets the unescaped text tmux reported, or null when it reported none.
  • State property Gets whether the value is absent, a flag, or ordinary text.
  • TmuxOptionValue method Initializes an option value.
Esc

Type to search.