notcurses_mice_enable

Function notcurses_mice_enable 

Source
pub unsafe extern "C" fn notcurses_mice_enable(
    n: *mut notcurses,
    eventmask: c_uint,
) -> c_int
Expand description

Enable mice events according to ‘eventmask’; an eventmask of 0 will disable all mice tracking. On failure, -1 is returned. On success, 0 is returned, and mouse events will be published to notcurses_get().