Enhancment - interactive shell

- At the request of several, and the great example of John Florian,
  task has an interactive shell.
This commit is contained in:
Paul Beckingham 2009-06-21 08:39:53 -04:00
parent 93a68361a7
commit fab37d3383
13 changed files with 142 additions and 9 deletions

View file

@ -64,7 +64,6 @@ bool confirm (const std::string& question)
std::getline (std::cin, answer);
answer = lowerCase (trim (answer));
if (answer == "\n") std::cout << "newline\n"; // TODO i18n
}
while (answer != "y" && // TODO i18n
answer != "ye" && // TODO i18n