mode_result

Function mode_result 

Source
pub unsafe extern "C" fn mode_result(
    mode: *mut Mode,
    menu_retv: c_int,
    input: *mut *mut c_char,
    selected_line: c_uint,
) -> c_int
Expand description

Acts on the user interaction.

Returns the next mode state.

  • menu_retv: The menu return value.
  • input: Pointer to the user input string. [in] [out]
  • selected_line: The line selected by the user.