libtui
Loading...
Searching...
No Matches
libtui_buffer Struct Reference

A struct that represents a 2D buffer. WARNING: Internal struct, end user shouldn't use this. More...

#include <libtui_buffer.h>

Data Fields

char * buf
 Owned by libtui_buffer.
 
size_t rows
 
size_t columns
 

Detailed Description

A struct that represents a 2D buffer. WARNING: Internal struct, end user shouldn't use this.

Create one with libtui_buffer_create() function. struct libtui_buffer owns the char* buf and will free it when libtui_buffer_free is called Caller must free the struct libtui_buffer with libtui_buffer_free.


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