SDOM - Simple SDL Document Object Model
A lightweight, extensible Document Object Model for SDL-based applications.
Loading...
Searching...
No Matches
SDOM_CLR.hpp File Reference

Static container for ANSI escape sequences for terminal text formatting and colorization. More...

#include <string>
#include <SDL3/SDL.h>
#include <sol/sol.hpp>
#include <cstdio>

Go to the source code of this file.

Classes

class  CLR
 Static container for ANSI escape sequences and formatting helpers. More...
 

Macros

#define Byte   Uint8
 
#define Word   Uint16
 
#define DWord   Uint32
 

Detailed Description

Static container for ANSI escape sequences for terminal text formatting and colorization.

Static container object. Cannot be instantiated. Defines a set of ANSI escape sequences to colorize and format text in the terminal. May require periodic fflush(stdout). See: https://stackoverflow.com/questions/4842424/list-of-ansi-color-escape-sequences

Author
Jay Faries (warte67)
Date
2025-09-19

Macro Definition Documentation

◆ Byte

#define Byte   Uint8

◆ DWord

#define DWord   Uint32

◆ Word

#define Word   Uint16