make sure duplicating moves to a new line

Duplicating downwards in the last line, like so:

> |last line

leads to:

> |last linelast line

Both lines end up together in the same line. This change makes sure forward-line actually moved to a new line to prevent this, so we get:

> last line
> |last line