Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input > does not recognize EOF #151

Open
madkins23 opened this issue May 18, 2023 · 0 comments
Open

Input > does not recognize EOF #151

madkins23 opened this issue May 18, 2023 · 0 comments

Comments

@madkins23
Copy link
Contributor

madkins23 commented May 18, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant