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.
1 file changed
tree: 9101160a60aa37058bfd9635f485658fb09014d9
  1. .gitignore
  2. Makefile
  3. README.markdown
  4. example.c
  5. linenoise.c
  6. linenoise.h