Function ratatui_begin_frame

Source
#[no_mangle]
pub extern "C" fn ratatui_begin_frame(handle: *mut c_void)
Expand description

Begins a new frame.

Clears the queued widget command list, drops any in-progress builder state (styled paragraph, chart, canvas), resets the pending style to default, and resets the area map so that only the root area (id 0) remains. Must be called before issuing widget commands for the new frame.