Welcome to the new CppUtils documentation!
CppUtils::Terminal::CharCell
STRUCTPublic methods & functions
Section titled “Public methods & functions”constexpr CharCell::CharCell( char32_t c, TextColor::TextColorEnum textColor, std::size_t displayWidth);constexpr CharCell::CharCell( char32_t c, TextColor::TextColorEnum textColor, BackgroundColor::BackgroundColorEnum backgroundColor, std::size_t displayWidth);constexpr CharCell::CharCell( char32_t c, TextColor::TextColorEnum textColor, BackgroundColor::BackgroundColorEnum backgroundColor);[[nodiscard]] static auto CharCell::fromString( std::string_view text, std::size_t& bytesConsumed, const CharAttributes& attributes = {}) -> CharCell;Public attributes
Section titled “Public attributes”character
Section titled “character”char32_t character;attributes
Section titled “attributes”CharAttributes attributes;displayWidth
Section titled “displayWidth”std::size_t displayWidth;