pub unsafe extern "C" fn ghostty_selection_gesture_get_multi(
gesture: SelectionGesture,
terminal: Terminal,
count: usize,
keys: *const Type,
values: *mut *mut c_void,
out_written: *mut usize,
) -> TypeExpand description
Read multiple data fields from a selection gesture in a single call.
This is an optimization over calling ghostty_selection_gesture_get() multiple times. Each entry in values must point to storage of the type documented by the corresponding GhosttySelectionGestureData key.
If any individual read fails, the function returns that error and writes the index of the failing key to out_written when out_written is non-NULL. On success, out_written receives count when non-NULL.
field has no value, or GHOSTTY_INVALID_VALUE if gesture, terminal,
keys, values, or a value pointer is invalid