linenoise icon indicating copy to clipboard operation
linenoise copied to clipboard

Multi Line entry

Open abhisheksaksena opened this issue 7 years ago • 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?

abhisheksaksena avatar Jun 01 '18 03:06 abhisheksaksena

multiline is just enabling word-wrapping

mgood7123 avatar Oct 20 '18 21:10 mgood7123

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.

FunMiles avatar May 30 '20 03:05 FunMiles