Skip to content
Snippets Groups Projects
Commit a7c7a46b authored by Beat Küng's avatar Beat Küng
Browse files

posix console: output newline before process_line

Before the output looked like this:
pxh> logger statusINFO  [logger]   Running
INFO  [logger]   Wrote 0.13 MiB (avg  0.72 KiB/s)
INFO  [logger]   Since last status: dropouts: 0 (max len: 0.000 s), max used buffer: 7176 / 12288 B
parent fcab80bf
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ static void run_cmd(const vector<string> &appargs, bool exit_on_fail)
// Do nothing
} else {
cout << endl << "Invalid command: " << command << "\ntype 'help' for a list of commands" << endl;
cout << "Invalid command: " << command << "\ntype 'help' for a list of commands" << endl;
}
}
......@@ -335,8 +335,8 @@ int main(int argc, char **argv)
}
}
process_line(mystr, false);
cout << endl;
process_line(mystr, false);
mystr = "";
buf_ptr_read = buf_ptr_write;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment