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

UTF-8 character information structure. More...

#include <lib/video/palette.h>

Data Fields

char bytes [4]
 UTF-8 byte sequence (max 4 bytes per character)
 
uint8_t byte_len
 Number of bytes in UTF-8 encoding (1-4)
 
uint8_t display_width
 Terminal display width in character cells (1-2)
 

Detailed Description

UTF-8 character information structure.

Stores UTF-8 character encoding information including byte sequence, byte length, and display width for proper terminal rendering.

Note
UTF-8 characters can be 1-4 bytes long.
Display width can be 1 or 2 (for full-width characters).

Definition at line 211 of file palette.h.


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