|
|
@ -184,6 +184,11 @@ int main (int argc, char** argv)
|
|
|
|
string command = "";
|
|
|
|
string command = "";
|
|
|
|
cout <<"[" << mode << ":" << brushname << ":" << amount << ":" << flowmode << ":" << setmode << "]# ";
|
|
|
|
cout <<"[" << mode << ":" << brushname << ":" << amount << ":" << flowmode << ":" << setmode << "]# ";
|
|
|
|
getline(cin, command);
|
|
|
|
getline(cin, command);
|
|
|
|
|
|
|
|
if (std::cin.eof())
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
command = "q";
|
|
|
|
|
|
|
|
std::cout << std::endl; // No newline from the user here!
|
|
|
|
|
|
|
|
}
|
|
|
|
if(command=="help" || command == "?")
|
|
|
|
if(command=="help" || command == "?")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
cout << "Modes:" << endl
|
|
|
|
cout << "Modes:" << endl
|
|
|
|