Skip to main content

ghostty_grid_ref_cell

Function ghostty_grid_ref_cell 

Source
pub unsafe extern "C" fn ghostty_grid_ref_cell(
    ref_: *const GhosttyGridRef,
    out_cell: *mut GhosttyCell,
) -> GhosttyResult
Expand description

Get the cell from a grid reference.

@param ref Pointer to the grid reference @param[out] out_cell On success, set to the cell at the ref’s position (may be NULL) @return GHOSTTY_SUCCESS on success, GHOSTTY_INVALID_VALUE if the ref’s node is NULL

@ingroup grid_ref