Only insert newline when cursor at end of line