cleanup prompt
This commit is contained in:
parent
66a2d21065
commit
164694ff7e
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ void console_task(void *args) {
|
||||||
char *prompt;
|
char *prompt;
|
||||||
|
|
||||||
while(true) {
|
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);
|
char* line = linenoise(prompt);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue