diff options
| author | David Walter Seikel | 2014-01-28 19:55:38 +1000 |
|---|---|---|
| committer | David Walter Seikel | 2014-01-28 19:55:38 +1000 |
| commit | 83815d8ad93e4a2a8352108e781e7ff853a0e700 (patch) | |
| tree | 1498f3821834b70ef4cb83813533b2044ad5f852 | |
| parent | Categorise, comment, extend, and sort the keys we respond to. (diff) | |
| download | boxes-83815d8ad93e4a2a8352108e781e7ff853a0e700.zip boxes-83815d8ad93e4a2a8352108e781e7ff853a0e700.tar.gz boxes-83815d8ad93e4a2a8352108e781e7ff853a0e700.tar.bz2 boxes-83815d8ad93e4a2a8352108e781e7ff853a0e700.tar.xz | |
Exit editLine on an EOF.
Diffstat (limited to '')
| -rw-r--r-- | boxes.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -1908,6 +1908,7 @@ void editLine(long extra, struct keyCommand *(*lineLoop)(long extra), void (*lin | |||
| 1908 | } | 1908 | } |
| 1909 | else if (j == 0) // End of file. | 1909 | else if (j == 0) // End of file. |
| 1910 | { | 1910 | { |
| 1911 | TT.stillRunning = 0; | ||
| 1911 | fprintf(stderr, "EOF\n"); | 1912 | fprintf(stderr, "EOF\n"); |
| 1912 | fflush(stderr); | 1913 | fflush(stderr); |
| 1913 | } | 1914 | } |
