Function libnotcurses_sys::ncmenu_selected[][src]

pub unsafe extern "C" fn ncmenu_selected(
    n: *const ncmenu,
    ni: *mut ncinput
) -> *const c_char
Expand description

Return the selected item description, or NULL if no section is unrolled. If ‘ni’ is not NULL, and the selected item has a shortcut, ‘ni’ will be filled in with that shortcut–this can allow faster matching.