antirez/linenoise

Multi Line entry

abhisheksaksena opened this issue · 2 comments

I have enabled linenoise's multliine mode. However I am unclear how to entER multi-line input on the prompt. Is there a shortcut (e.g shift+enter) to move to the next line when editing at prompt?

multiline is just enabling word-wrapping

This is an old issue, but I would also be interested in having shift+enter or something of the sort to enter multiple lines of input before handing the result for processing. Such a feature is useful to provide an interface to scripting languages which consider a newline as an end of statement.