When copying the current line discard its newline (fixes #347)
Merge remote-tracking branch 'origin/master' into dev