Function ratatui_paragraph

Source
#[no_mangle]
pub extern "C" fn ratatui_paragraph(
    handle: *mut c_void,
    area_id: u32,
    text: *const c_char,
    alignment: u8,
    wrap: u8,
)
Expand description

Queues a uniformly styled Paragraph.

ยงParameters

  • text: paragraph contents. Embedded \n produces line breaks.
  • alignment: 0 Left, 1 Center, 2 Right.
  • wrap: non-zero to enable word wrapping (trim: false).

For multi-style text use the styled-paragraph builder (ratatui_styled_para_begin / ratatui_styled_para_span / ratatui_styled_para_newline / ratatui_styled_para_end).