Skip to main content

ghostty_cell_get_multi

Function ghostty_cell_get_multi 

Source
pub unsafe extern "C" fn ghostty_cell_get_multi(
    cell: Cell,
    count: usize,
    keys: *const Type,
    values: *mut *mut c_void,
    out_written: *mut usize,
) -> Type
Expand description

Get multiple data fields from a cell in a single call.

Each element in the keys array specifies a data kind, and the corresponding element in the values array receives the result.

Processing stops at the first error; on success out_written is set to count, on error it is set to the index of the failing key (i.e. the number of values successfully written).

          documented output type)
        successfully written (may be NULL)