Runestone icon indicating copy to clipboard operation
Runestone copied to clipboard

Pasting in CRLF mode adds extra empty lines

Open atnbueno opened this issue 6 months ago • 0 comments

What happened?

When I paste text in CRLF mode extra empty lines are added. It adds more empty lines if the pasted text uses CRLF than if it uses just LF.

See the issue in this video: https://files.mastodon.social/media_attachments/files/114/981/067/396/068/740/original/591e74a2474543a8.mp4

Originally "reported" at https://mastodon.social/@atnbueno/114981075895667559

What are the steps to reproduce?

Copy some text in LF mode. Convert to CRLF mode. Paste the copied text and empty lines appear (see video linked above).

What is the expected behavior?

Not add empty lines that weren't there :-)

atnbueno avatar Sep 14 '25 07:09 atnbueno