ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
utf8_char_info_t Struct Reference

UTF-8 character information structure. More...

#include <include/ascii-chat/video/ascii/palette.h>

Data Fields

char bytes [UTF8_MAX_BYTES]
 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 223 of file palette.h.


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