mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 00:31:36 +08:00
POSIX shell: Fix enter handling
This commit is contained in:
@@ -137,6 +137,10 @@ static void usage()
|
||||
|
||||
static void process_line(string &line, bool exit_on_fail)
|
||||
{
|
||||
if (line.length() == 0) {
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
vector<string> appargs(8);
|
||||
|
||||
stringstream(line) >> appargs[0] >> appargs[1] >> appargs[2] >> appargs[3] >> appargs[4] >> appargs[5] >> appargs[6] >>
|
||||
|
||||
Reference in New Issue
Block a user