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.]] std::string sample() const noexcept;_view -
Description#
Truncated, and with control characters rendered —
contents()reads the bytes.