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

Growable NUL-terminated buffer used while assembling ASCII output. More...

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

Data Fields

char * data
size_t len
size_t cap

Detailed Description

Growable NUL-terminated buffer used while assembling ASCII output.

data points to the owned allocation, len counts the bytes currently in use (not including the final NUL), and cap is the allocation size. Video formatting helpers append to this buffer and grow it when a rendered row or frame does not fit.

Definition at line 167 of file video/ascii/common.h.


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