cleanup prompt

This commit is contained in:
Morgan 'ARR\!' Allen 2020-04-24 21:58:08 -07:00
parent 66a2d21065
commit 164694ff7e

View file

@ -61,7 +61,7 @@ void console_task(void *args) {
char *prompt;
while(true) {
asprintf(&prompt, LOG_COLOR_I "%s > " LOG_RESET_COLOR, lorcomm_cfg.hostname == NULL ? "lorcomm" : lorcomm_cfg.hostname);
asprintf(&prompt, LOG_COLOR_I "%s > " LOG_RESET_COLOR, lorcomm_cfg.hostname);
char* line = linenoise(prompt);