Skip to main content

mode_completer_result

Function mode_completer_result 

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

Acts on the user interaction. Returns the next mode state.

  • mode: The mode to query
  • menu_retv: The menu return value.
  • input: Pointer to the user input string. (in, out)
  • selected_line: the line selected by the user.
  • path: get the path to the selected file. (out)