cmd: Echoed prompts are preceded by a blank line.
This commit is contained in:
parent
0debd2fef4
commit
27235ecb65
|
@ -325,6 +325,8 @@ static void WCMD_show_prompt (void) {
|
||||||
}
|
}
|
||||||
p = prompt_string;
|
p = prompt_string;
|
||||||
q = out_string;
|
q = out_string;
|
||||||
|
*q++ = '\r';
|
||||||
|
*q++ = '\n';
|
||||||
*q = '\0';
|
*q = '\0';
|
||||||
while (*p != '\0') {
|
while (*p != '\0') {
|
||||||
if (*p != '$') {
|
if (*p != '$') {
|
||||||
|
|
Loading…
Reference in New Issue