- 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:
parent
3968bc7cbd
commit
aaf8e068d3
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue