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

Buffer.sample

The opening of the contents, as tmux prints it in a listing.

Source and package
Qualified name
libtmux::Buffer::sample
Namespace
libtmux
Declared in
Buffer
Package
libtmux-cxx
Source
include/libtmux/entities.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::string_view sample() const noexcept;

Description#

Truncated, and with control characters rendered — contents() reads the bytes.

Esc

Type to search.

Reference previewOpen reference