remy / jsconsole

Web based console - for presentations and workshops
http://jsconsole.com
MIT License
1.91k stars 334 forks source link

Multi-line Mode #125

Closed pvanb closed 6 years ago

pvanb commented 6 years ago

Is there a way to enter multi-line mode that doesn't involve pasting in a multi-line snippet of code? Or a way to enter a newline without evaluating the content (e.g. Cmd-Enter or Alt-Enter). Sometimes it would be nice to define a method over multiple lines, for example.

pvanb commented 6 years ago

Poking through the code, I see that Shift-Enter does what I want. Somehow I missed that combination when trying the first time.