TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
tmk::app::tui::Line Struct Reference

One screen line: text is the plain text (what a test or a monochrome terminal sees), spans the same in pieces with their styles. More...

#include <app/tui.hpp>

Public Attributes

std::string text
std::vector< Span > spans
bool highlight = false

Detailed Description

One screen line: text is the plain text (what a test or a monochrome terminal sees), spans the same in pieces with their styles.

highlight paints the whole line as the current row.

Definition at line 69 of file tui.hpp.

Member Data Documentation

◆ highlight

bool tmk::app::tui::Line::highlight = false

Definition at line 72 of file tui.hpp.

◆ spans

std::vector<Span> tmk::app::tui::Line::spans

Definition at line 71 of file tui.hpp.

◆ text

std::string tmk::app::tui::Line::text

Definition at line 70 of file tui.hpp.


The documentation for this struct was generated from the following file: