alive
alive copied to clipboard
Input > does not recognize EOF
There seems to be no way to enter an EOF in the Input >
field. Normally I would use <ctrl>-D
(on Linux) but that isn't recognized. Testing code that reads from *standard-input*
until EOF is difficult.
Test with:
(loop for line = (read-line *standard-input* nil nil)
while line
do (print line))
It is possible to kill the thread. That doesn't immediately remove the Input >
field, but the next time anything is entered there it goes away. In a case where the code is waiting for EOF before doing actual work killing the thread won't help.