mirror of
https://github.com/GothenburgBitFactory/taskshell.git
synced 2025-06-26 10:54:29 +02:00
TS-32: control-d to exit
- Thanks to Paul Fenwick.
This commit is contained in:
parent
87d05ed28a
commit
8c3580f5c6
3 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue