|
@@ -278,7 +278,7 @@ void IoMan::inputMain() {
|
|
|
command = cmd;
|
|
|
} else {
|
|
|
command = cmd.substr(0, index);
|
|
|
- //~ index++;
|
|
|
+ index++;
|
|
|
|
|
|
bool end_tokenizing = false;
|
|
|
while (!end_tokenizing) {
|
|
@@ -297,8 +297,9 @@ void IoMan::inputMain() {
|
|
|
|
|
|
if (cmd[0] == '\"') {
|
|
|
// quoted string
|
|
|
+ cmd = cmd.substr(1);
|
|
|
index = cmd.find("\"");
|
|
|
- args.push_back(cmd.substr(1, index - 1));
|
|
|
+ args.push_back(cmd.substr(0, index));
|
|
|
index++;
|
|
|
|
|
|
/*
|