Fork me on GitHub
#calva
<
2023-11-20
>
pez14:11:05

Dear Calva friends: https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.399 • Fix: https://github.com/BetterThanTomorrow/calva/issues/2334 Thanks @me1676 and @ingy for bringing this to my attention and helping with fixing and testing! 🙏 ❤️ calva

1
ericnormand20:11:16

Question about Calva: I want to call (read-line) inside of a function I call at the REPL. I type a line and hit enter, but it seems to do nothing. If I hit escape, it exits out. I've tried Ctrl-D and Ctrl-J. I can't figure out how to enter the line and have it read in!

pez20:11:16

It should show you an input box. Like so. Not happening?

pez20:11:34

Also from a function.

pez20:11:14

If “at the repl” means from the repl prompt, that should also work.

ericnormand21:11:40

Oh, wow! Thanks!

ericnormand21:11:02

I didn't see that black box on top of a black background.

ericnormand21:11:27

I was looking at the REPL and trying to type there!

ericnormand21:11:45

Thanks for showing me that.

ericnormand21:11:11

I wish...you could do the normal pattern of println for outputting a prompt and typing right below it.

ericnormand21:11:16

But I think this will be okay.

pez22:11:34

Ah, yes, very subtle with the input box.

pez22:11:30

What’s that normal pattern? I think I’ve not seen it.

ericnormand22:11:39

Input directly in the repl.

pez22:11:25

I guess we could, but that wouldn’t be too convenient when used from the regular code editors. Many people don’t even have the prompt window showing.