Terminal++ 3.1.0.4
A C++ library for interacting with ANSI terminal windows
|
A structure that represents the fundamental printable element of a terminal screen, which comprises a glyph modified by a set of attribute (such as colour, intensity, etc.) More...
#include <element.hpp>
Public Member Functions | |
constexpr | element (terminalpp::glyph gly={}, terminalpp::attribute attr={}) noexcept |
Value Constructor. | |
constexpr | element (byte ch, terminalpp::attribute attr={}) noexcept |
Char Constructor. | |
Public Attributes | |
terminalpp::glyph | glyph_ |
terminalpp::attribute | attribute_ |
Friends | |
std::size_t | hash_value (element const &elem) noexcept |
Hash function. | |
constexpr friend auto | operator<=> (element const &lhs, element const &rhs) noexcept=default |
Relational operators for elements. | |
A structure that represents the fundamental printable element of a terminal screen, which comprises a glyph modified by a set of attribute (such as colour, intensity, etc.)