MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / shell_auto_complete

Function shell_auto_complete

components/finsh/shell.c:388–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386#endif /* FINSH_USING_AUTH */
387
388static void shell_auto_complete(char *prefix)
389{
390 rt_kprintf("\n");
391 msh_auto_complete(prefix);
392
393#ifdef FINSH_USING_OPTION_COMPLETION
394 msh_opt_auto_complete(prefix);
395#endif
396
397 rt_kprintf("%s%s", FINSH_PROMPT, prefix);
398}
399
400#ifdef FINSH_USING_HISTORY
401static rt_bool_t shell_handle_history(struct finsh_shell *shell)

Callers 1

finsh_thread_entryFunction · 0.85

Calls 3

rt_kprintfFunction · 0.85
msh_auto_completeFunction · 0.85
msh_opt_auto_completeFunction · 0.85

Tested by

no test coverage detected