mode_get_completion

Function mode_get_completion 

Source
pub unsafe extern "C" fn mode_get_completion(
    mode: *const Mode,
    selected_line: c_uint,
) -> *const c_char
Expand description

Get a string that can be used for completion. It should have no markup.

Returns a newly allocated string.

  • selected_line: The entry to query