-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Not able to escape read-line in the output window #783
Comments
Tested this myself, never seen this before but I do see what you mean. It made me chuckle 😄. I have a couple of notes:
@PEZ Is there anything else we should do about this particular situation? I see that this is occurring here: Line 799 in 5ff07b1
Perhaps we should interrupt the evaluation at this point, when there's no input (user hit Esc in the prompt)? |
We should make dismissal of the input picker send cttl+z, probably. |
I had some code with interactive input using
read-line
.(this is a minimal example)
If run from a normal terminal it's possible to exit the loop by entering EOF (^Z in my case), as
read-line
will then returnnil
.If run from the Calva output window, the editor pops up a little box, titled REPL Input, to enter the input. From there
As far as I can see the only way out is to quit the editor.
Is there another way to indicate EOF to the running code, or otherwise break out of the loop?
Using Clojure 1.10.1, Windows 10, VSCode 1.49.1, Calva 2.0.124
The text was updated successfully, but these errors were encountered: