Function ratatui_styled_para_span

Source
#[no_mangle]
pub extern "C" fn ratatui_styled_para_span(
    handle: *mut c_void,
    text: *const c_char,
    fg_r: u8,
    fg_g: u8,
    fg_b: u8,
    use_default_fg: u8,
    bg_r: u8,
    bg_g: u8,
    bg_b: u8,
    use_default_bg: u8,
    modifiers: u8,
)
Expand description

Appends a styled Span to the current line of the pending styled paragraph.

Does nothing if no builder is active. Style parameters follow the same encoding as ratatui_set_style.