I use Jline for Sql editing and execution.
I try to use the history with a single entry containing multiple lines of text.
In my application I call history.replace() to add commands which swapped over two lines of text.
This works fine, but when the user goes back and tries to edit the caret is placed wrong and the typed charachters are written on the wrong position.
It would be a great improvement if you can support multiline text in history, so the editing would work correct.
Thank you for the great product,