#[no_mangle]
pub extern "C" fn ratatui_styled_para_begin(
handle: *mut c_void,
area_id: u32,
alignment: u8,
wrap: u8,
)Expand description
Starts a multi-style paragraph builder.
Builder lifecycle:
ratatui_styled_para_begin— open the builder forarea_id.- Zero or more
ratatui_styled_para_spancalls — append styled spans to the current line. - Zero or more
ratatui_styled_para_newlinecalls — start a new line. ratatui_styled_para_end— flush the builder into the command queue.
Only one styled-paragraph builder may be active at a time per handle.
Beginning a new one before _end discards the previous one.
§Parameters
alignment:0Left,1Center,2Right.wrap: non-zero to enable word wrapping (trim: false).