Ctrl+V at the prompt to turn on multiline mode.

Thanks to Alex on StackOverflow for this.

"> Ctrl+V at the prompt to turn on multiline mode.

Thanks to Alex on StackOverflow for this.

"> Ctrl+V at the prompt to turn on multiline mode.

Thanks to Alex on StackOverflow for this.

" />
Christoph Wagner

Freelance Software Developer

CoffeeScript: entering multiple lines in the REPL

24 April 2015

Finally found a solution to one of my most annoying complaints about the CoffeeScript REPL: turns out you can write code spanning multiple lines after all!

Just press Ctrl+V at the prompt to turn on multiline mode.

Thanks to Alex on StackOverflow for this.