chafa_term_info_emit_insert_rows

Function chafa_term_info_emit_insert_rows 

Source
pub unsafe extern "C" fn chafa_term_info_emit_insert_rows(
    term_info: *const ChafaTermInfo,
    dest: *mut gchar,
    n: guint,
) -> *mut gchar
Expand description

chafa_term_info_emit_insert_rows: @term_info: A #ChafaTermInfo @dest: String destination @n: Number of rows to insert

Prints the control sequence for #CHAFA_TERM_SEQ_INSERT_ROWS.

@dest must have enough space to hold #CHAFA_TERM_SEQ_LENGTH_MAX bytes, even if the emitted sequence is shorter. The output will not be zero-terminated.

Returns: Pointer to first byte after emitted string

Since: 1.6