I tried to enter a block string inside the Roc REPL and assumed I had to use \
to continue over multiple lines (I later learned I could use C-v C-j
to produce a new line thanks to the :help
command. :smile:). I typed the following into the REPL:
"""\
123"""
And this trashed my terminal and produced the following output:
I assume this is a bug?
I'm not sure if anyone has ever tried multiline strings in the repl
They work fine if you use C-v C-j to enter a new line. It’s the above that acted out. :sweat_smile:
Ah. Yeah, not sure I would call it a bug. More just not expected to work.
But not fully sure
I think it’s a bug in some way or another as it spits out red garbage forever and the red color leak out to the terminal prompt.
Last updated: Jul 06 2025 at 12:14 UTC