Lines Matching refs:prompt
37 char prompt[CONSOLE_PROMPT_MAX_LEN]; // Prompt to be printed before each line member
56 static esp_err_t esp_console_setup_prompt(const char *prompt, esp_console_repl_com_t *repl_com);
96 esp_console_setup_prompt(repl_config->prompt, &cdc_repl->repl_com); in esp_console_new_repl_usb_cdc()
175 esp_console_setup_prompt(repl_config->prompt, &usb_serial_jtag_repl->repl_com); in esp_console_new_repl_usb_serial_jtag()
265 esp_console_setup_prompt(repl_config->prompt, &uart_repl->repl_com); in esp_console_new_repl_uart()
311 static esp_err_t esp_console_setup_prompt(const char *prompt, esp_console_repl_com_t *repl_com) in esp_console_setup_prompt() argument
315 if (prompt) { in esp_console_setup_prompt()
316 prompt_temp = prompt; in esp_console_setup_prompt()
318 …snprintf(repl_com->prompt, CONSOLE_PROMPT_MAX_LEN - 1, LOG_COLOR_I "%s " LOG_RESET_COLOR, prompt_t… in esp_console_setup_prompt()
329 snprintf(repl_com->prompt, CONSOLE_PROMPT_MAX_LEN - 1, "%s ", prompt_temp); in esp_console_setup_prompt()
498 char *line = linenoise(repl_com->prompt); in esp_console_repl_task()