split_row
Split one tmux output line into its field values.
Source and package
- Qualified name
-
libtmux::split _row - Namespace
- libtmux
- 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.]] bool split_row(std::string line, std::_view size fields, std::_t vector <std::string >& values);_view -
Description#
The trailing separator emitted by
format_request()produces one empty tail element, which is dropped; a short or long row is reported rather than padded so a format-name typo cannot masquerade as an empty field.- Parameters