Only move cursor left if cursor is on last line. Fixes #186.
Merge pull request #220 from robru/fix-newline-appendage-again

Only move cursor left if cursor is on last line. Fixes #186.