TS-32: control-d to exit

- Thanks to Paul Fenwick.
This commit is contained in:
Paul Beckingham 2017-02-20 23:17:40 -05:00
parent 87d05ed28a
commit 8c3580f5c6
3 changed files with 3 additions and 2 deletions

View file

@ -85,8 +85,8 @@ const std::string getResponse (const std::string& prompt)
std::getline (std::cin, response);
if (std::cin.eof () == 1)
{
response = "<EOF>";
std::cout << "\n";
response = "<EOF>";
}
#endif