]> git.donarmstrong.com Git - mothur.git/blobdiff - engine.cpp
adding mothurout.h and .cpp to repo
[mothur.git] / engine.cpp
index fdd017ab34c7a083b3f09bc270498155b3cb3766..5e9ac5f36372a5bdbd4da64d1a87d3bac57b5954 100644 (file)
@@ -69,6 +69,7 @@ bool InteractEngine::getInput(){
                                //executes valid command
                                Command* command = cFactory->getCommand(commandName, options);
                                quitCommandCalled = command->execute();
+                               mout->control_pressed = 0;
                                
                        }else {
                                mout->mothurOut("Your input contains errors. Please try again."); 
@@ -183,6 +184,7 @@ bool BatchEngine::getInput(){
                                        //executes valid command
                                        Command* command = cFactory->getCommand(commandName, options);
                                        quitCommandCalled = command->execute();
+                                       mout->control_pressed = 0;
                                }else {         
                                        mout->mothurOut("Invalid."); 
                                        mout->mothurOutEndLine();
@@ -262,6 +264,7 @@ bool ScriptEngine::getInput(){
                                //executes valid command
                                Command* command = cFactory->getCommand(commandName, options);
                                quitCommandCalled = command->execute();
+                               mout->control_pressed = 0;
                        }else {         
                                mout->mothurOut("Invalid."); 
                                mout->mothurOutEndLine();