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. example.c
  3. linenoise.c
  4. linenoise.h
  5. Makefile
  6. README.markdown