Function ratatui_set_background_color

Source
#[no_mangle]
pub extern "C" fn ratatui_set_background_color(
    handle: *mut c_void,
    r: u8,
    g: u8,
    b: u8,
)
Expand description

Sets the RGB background color used by the rasterizer for cells whose background is [Color::Reset].

The value persists across frames until changed again. Setting this between frames is supported; setting it mid-frame only affects subsequent calls to ratatui_end_frame*.