Core LibraryalphaAPI 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.

function libtmux-cxx latest

parse_option

Parse one line.

Source and package
Qualified name
libtmux::parse_option
Namespace
libtmux
Package
libtmux-cxx
Source
include/libtmux/options.hpp
[[C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.Language documentation]] std::optional<OptionEntry> parse_option(std::string_view line);

Description#

Returns nullopt for a blank line so callers can feed raw output straight in.

Parameters
Esc

Type to search.

Reference previewOpen reference