ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
utf8_palette_t Struct Reference

UTF-8 palette structure. More...

#include <lib/video/palette.h>

Data Fields

utf8_char_info_tchars
 Array of UTF-8 character information.
 
size_t char_count
 Number of characters (not bytes!)
 
size_t total_bytes
 Total byte length of palette string.
 
char * raw_string
 Original palette string (for reference/debugging)
 

Detailed Description

UTF-8 palette structure.

Properly handles multi-byte UTF-8 characters in palettes. Stores per-character information for efficient lookup and rendering.

Note
char_count is the number of characters (not bytes), which is important for proper palette indexing.
total_bytes is the total byte length of the raw string, useful for memory management.

Definition at line 234 of file palette.h.


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