commit | 4cc1ac49840a15b4cd174ade369b0ea9e3c96ce6 | [log] [tgz] |
---|---|---|
author | antirez <antirez@gmail.com> | Thu Feb 07 17:31:25 2013 +0100 |
committer | antirez <antirez@gmail.com> | Thu Feb 07 17:31:25 2013 +0100 |
tree | 46ca769078619d2f17e60c2764296a651251d9d1 | |
parent | 09ddc70963adf2bc40a0f5ddeb84bec968493915 [diff] | |
parent | d6373b31393c17a2b8e992724878a64c80c595ed [diff] |
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) {