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.take_in_session

Source and package
Qualified name
libtmux::Snapshot::take_in_session
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 expected< std::shared_ptr<const Snapshot>, CommandFailure> take_in_session( std::shared_ptr<const detail::Backend> backend, std::span<const std::string_view> fields, CommandRequest request, FormatArgument placement, std::string_view session_id, std::string_view session_name);[[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 expected< std::shared_ptr<const Snapshot>, CommandFailure> take_in_session( std::shared_ptr<const detail::Backend> backend, std::span<const std::string_view> fields, CommandRequest request, FormatArgument placement, std::string_view session_id, std::string_view session_name, std::optional<std::chrono::milliseconds> timeout, std::optional<std::size_t> output_limit);
Parameters
Esc

Type to search.

Reference previewOpen reference