Skip to main content

ghostty_render_state_row_cells_select

Function ghostty_render_state_row_cells_select 

Source
pub unsafe extern "C" fn ghostty_render_state_row_cells_select(
    cells: GhosttyRenderStateRowCells_ptr,
    x: u16,
) -> GhosttyResult
Expand description

Move a render-state row cells iterator to a specific column.

Positions the iterator at the given x (column) index so that subsequent reads return data for that cell.

@param cells The row cells handle to reposition (NULL returns GHOSTTY_INVALID_VALUE) @param x The zero-based column index to select @return GHOSTTY_SUCCESS on success, GHOSTTY_INVALID_VALUE if cells is NULL or x is out of range

@ingroup render