Function esp_idf_hal::sys::esp_console_get_completion
source ยท pub unsafe extern "C" fn esp_console_get_completion(
buf: *const i8,
lc: *mut linenoiseCompletions,
)
Expand description
@brief Callback which provides command completion for linenoise library
When using linenoise for line editing, command completion support can be enabled like this:
linenoiseSetCompletionCallback(&esp_console_get_completion);
@param buf the string typed by the user @param lc linenoiseCompletions to be filled in