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.

method libtmux-cxx latest

Snapshot.from_recording

Output that did not come from a live server: a recording, a fixture, a test.

Source and package
Qualified name
libtmux::Snapshot::from_recording
Namespace
libtmux
Declared in
Snapshot
Package
libtmux-cxx
Source
include/libtmux/snapshot.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]] static std::shared_ptr<const Snapshot> from_recording(std::span<const std::string_view> fields, std::string output);

Description#

Entities read and filter exactly as they would from a listing, and anything that would run a command reports that there is no connection. Returns null if a row does not match the fields it claims to have.

Esc

Type to search.

Reference previewOpen reference