antirez / linenoise

A small self-contained alternative to readline and libedit
BSD 2-Clause "Simplified" License
3.76k stars 664 forks source link

Multi Line entry #154

Open abhisheksaksena opened 6 years ago

abhisheksaksena commented 6 years ago

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?

mgood7123 commented 5 years ago

multiline is just enabling word-wrapping

FunMiles commented 4 years ago

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.