ttx 0.1.0
Loading...
Searching...
No Matches
ttx::terminal::Row Struct Reference

Represents a on-screen terminal row of cells. More...

#include <ttx/terminal/row.h>

Public Attributes

di::Vector< Cellcells
 Fixed size vector of terminal cells for this row.
 
di::String text
 Text associated with the row.
 
bool overflow { false }
 Use for rewrapping on resize. Set if the cursor overflowed when at this row.
 
bool stale { false }
 Dirty bit for damage tracking. 1 indicates the cell isn't dirty.
 

Detailed Description

Represents a on-screen terminal row of cells.

Member Data Documentation

◆ cells

di::Vector<Cell> ttx::terminal::Row::cells

Fixed size vector of terminal cells for this row.

◆ overflow

bool ttx::terminal::Row::overflow { false }

Use for rewrapping on resize. Set if the cursor overflowed when at this row.

◆ stale

bool ttx::terminal::Row::stale { false }
mutable

Dirty bit for damage tracking. 1 indicates the cell isn't dirty.

◆ text

di::String ttx::terminal::Row::text

Text associated with the row.


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