3 ms·
Which REPL? In emacs, depending on whether it's slime or ieml, you can do things like hit CTRL-J to get a line break without triggering an eval. Maybe it works
by kagevf 4y ago
Which REPL? In emacs, depending on whether it's slime or ieml, you can do things like hit CTRL-J to get a line break without triggering an eval. Maybe it works in other REPLs too ...
- amelius 4y agoI was thinking of Bash, but it looks like it doesn't work.
- kagevf 4y agoI was able to use ctrl-j in bash (on ubuntu over ssh) and ctrl-j didn't trigger an execution. I just did something simple like: cat ./test.txt && # hit ctrl-j here > less ./test.txt # the ">" was generated by bash automatically So, it probably depends on what you're doing ...