Skip to main content

ghostty_mouse_encoder_setopt

Function ghostty_mouse_encoder_setopt 

Source
pub unsafe extern "C" fn ghostty_mouse_encoder_setopt(
    encoder: GhosttyMouseEncoder_ptr,
    option: GhosttyMouseEncoderOption,
    value: *const c_void,
)
Expand description

Set an option on the mouse encoder.

A null pointer value does nothing. It does not reset to defaults.

@param encoder The encoder handle, must not be NULL @param option The option to set @param value Pointer to option value (type depends on option)

@ingroup mouse