Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

class libtmux-dotnet

TmuxOptionValue

One option value as tmux reported it.

Source and package
Qualified name
LibTmux.TmuxOptionValue
Namespace
LibTmux
Package
LibTmux
Source
src/LibTmux/Options/TmuxOptionValue.cs
class LibTmux.TmuxOptionValue

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.

Properties4

TmuxOptionValue properties
NameTypeDescription
Boolean bool? Gets the flag reading, or null when the value is not a flag.
Raw string? Gets the unescaped text tmux reported, or null when it reported none.
Integer long? Gets the whole-number reading, or null when the value is not one.
State TmuxOptionState Gets whether the value is absent, a flag, or ordinary text.

Members1 members

Esc
Search in

Type to search.

Reference previewOpen reference