alive icon indicating copy to clipboard operation
alive copied to clipboard

Input > does not recognize EOF

Open madkins23 opened this issue 1 year ago • 0 comments

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.

madkins23 avatar May 18 '23 15:05 madkins23