ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
compiled_color_scheme_t Struct Reference

Compiled ANSI escape codes for a color scheme. More...

#include <include/ascii-chat/options/colorscheme.h>

Data Fields

const char * codes_16 [8]
 
const char * codes_256 [8]
 
const char * codes_truecolor [8]
 

Detailed Description

Compiled ANSI escape codes for a color scheme.

Contains pre-compiled ANSI escape codes for all log colors in different terminal color modes. Stores pointers to allocated strings rather than inline char arrays, matching the interface expected by callers.

Definition at line 85 of file colorscheme.h.

Field Documentation

◆ codes_16

const char* compiled_color_scheme_t::codes_16[8]

Array of 16-color ANSI code strings

Definition at line 86 of file colorscheme.h.

Referenced by colorscheme_cleanup_compiled(), and colorscheme_compile_scheme().

◆ codes_256

const char* compiled_color_scheme_t::codes_256[8]

Array of 256-color ANSI code strings

Definition at line 87 of file colorscheme.h.

Referenced by colorscheme_cleanup_compiled(), and colorscheme_compile_scheme().

◆ codes_truecolor

const char* compiled_color_scheme_t::codes_truecolor[8]

Array of 24-bit truecolor ANSI code strings

Definition at line 88 of file colorscheme.h.

Referenced by colorscheme_cleanup_compiled(), and colorscheme_compile_scheme().


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