ChangeRun struct
#include <nxt/raster-diff.hpp>
A run of changed cells, with color/emphasis deltas for minimal ANSI output.
Public variables
- Pos origin
- Origin of the emitted run.
-
std::
span<const GlyphTable:: GlyphId> glyphs - Glyph ids for the emitted run.
-
std::
optional<Rgba8> fg_change - Foreground change to emit before text, if any.
-
std::
optional<Rgba8> bg_change - Background change to emit before text, if any.
-
std::
optional<Emphasis> em_change - Emphasis change to emit before text, if any.
- bool fg_reset
- Whether foreground should be reset before text.
- bool bg_reset
- Whether background should be reset before text.
- bool em_reset
- Whether emphasis should be reset before text.