Function ratatui_end_frame

Source
#[no_mangle]
pub extern "C" fn ratatui_end_frame(handle: *mut c_void) -> *const u8
Expand description

Renders all queued widget commands and rasterizes the cell buffer.

The returned pointer addresses a flat RGB24 buffer of size pixel_width * pixel_height * 3 bytes, owned by the handle. The pointer is valid until the next FFI call that mutates the handle (typically the next ratatui_end_frame* call), at which point the buffer may be overwritten.

Returns null only when handle is null.