cleanup prompt

This commit is contained in:
Morgan 'ARR\!' Allen 2020-04-24 21:58:08 -07:00
parent 66a2d21065
commit 164694ff7e
1 changed files with 1 additions and 1 deletions

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);