Skip to main content

ghostty_grid_ref_style

Function ghostty_grid_ref_style 

Source
pub unsafe extern "C" fn ghostty_grid_ref_style(
    ref_: *const GhosttyGridRef,
    out_style: *mut GhosttyStyle,
) -> GhosttyResult
Expand description

Get the style of the cell at the grid reference’s position.

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

@ingroup grid_ref