commit | c1c5a026d03ce58e7eb51cb5778e4226635d186f | [log] [tgz] |
---|---|---|
author | antirez <antirez@gmail.com> | Wed Sep 03 11:49:43 2014 +0200 |
committer | antirez <antirez@gmail.com> | Wed Sep 03 11:49:43 2014 +0200 |
tree | 9101160a60aa37058bfd9635f485658fb09014d9 | |
parent | 01e723a095c181155e90fab2f9bb161c050a27ac [diff] |
Move to end before return when in multi-line mode. This makes sure that if we are editing in multi-line mode a line that actually spawns across multiple lines, the next output performed by the application using linenoise will not overwrite the edited line.