- Add prompt display for my mental sanity sake, so I know when I can type something

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@836 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-08-09 14:13:41 +00:00
parent 3968bc7cbd
commit aaf8e068d3
1 changed files with 6 additions and 2 deletions

View File

@ -132,9 +132,13 @@ parse_options(int argc, char** argv)
TextSimulation sim; TextSimulation sim;
std::string str; std::string str;
std::cout << std::endl << "% ";
while(getline(std::cin, str)) while(getline(std::cin, str))
{
// Enter main loop // Enter main loop
TextSimulation::parse_command(sim, str); TextSimulation::parse_command(sim, str);
std::cout << std::endl << "% ";
}
} }
else else
{ {