Merge branch 'master' of git://github.com/antirez/linenoise
diff --git a/linenoise.c b/linenoise.c
index 5293abf..b3c0b96 100644
--- a/linenoise.c
+++ b/linenoise.c
@@ -406,7 +406,6 @@
     /* If we are at the very end of the screen with our prompt, we need to
      * emit a newline and move the prompt to the first column. */
     if (l->pos &&
-        l->pos > l->oldpos &&
         l->pos == l->len &&
         (l->pos+plen) % l->cols == 0)
     {