Fork me on GitHub
#cursive
<
2023-04-14
>
kenny20:04:57

I vaguely recall Cursive opening an input box when you call read-line. I’m on Cursive 1.12.8-2023.1, and the behavior I’m seeing now is I call that function, and the REPL will hang until I interrupt the evaluation. I am starting my REPL with in “Run with Deps” mode, though I did also test against “Run with IntelliJ project classpath.” If it matters, I have been testing out the new IntelliJ UI. On a Mac. Did the input box for read-line get dropped at some point? Maybe I’m misremembering?

cfleming22:04:42

How this (should) work is documented here: https://cursive-ide.com/userguide/repl.html#handling-standard-input. How exactly it works depends on whether you’re using nREPL or a streaming REPL of some kind.

kenny22:04:45

Ohhh got it. I seem to remember an actual input box popping up, but that makes more sense, and it works. Thx 🙏:skin-tone-2:

cfleming22:04:53

Yeah, many moons ago it used to work like that for nREPL, but once I started using the overlays I changed it.

kenny22:04:26

I wasn’t crazy! haha

cfleming22:04:36

Haha, no definitely not