peterh / liner

Pure Go line editor with history, inspired by linenoise
MIT License
1.05k stars 132 forks source link

Prevent text disappearing into " { ". Possible line wrap ? #64

Closed ikandaswamy closed 8 years ago

ikandaswamy commented 8 years ago

Hi, When using the liner, if I type more characters than the width of the terminal, the characters to the left disappear into " { " . Is there a way to wrap the input to the next line ?

Thanks

peterh commented 8 years ago

https://godoc.org/github.com/peterh/liner#State.SetMultiLineMode