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

@ -10,6 +10,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
Jörg Krause
Ben Boeckel
ilove zfs
Paul Fenwick
Thanks to the following, who submitted detailed bug reports and excellent
suggestions:

View file

@ -3,7 +3,7 @@
- TS-29 tasksh hangs trying to read task from stdin
(thanks to ilove zfs).
- TS-32 control-d to exit
(thanks to Eric Hymowitz).
(thanks to Eric Hymowitz, Paul Fenwick).
- TS-34 Tasksh throw a warning at the end of a review command
(thanks to bjonnh).
- Review report now defaults to 6 days instead of 1 weeķ, which is more

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