This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Cannot paste multi line text from system clipboard in some cases #8600
Labels
C-bug
Category: This is a bug
Summary
I continue running into an issue where pasting multi-line text from the system clipboard (SpaceP) only inserts a single line.
I think I narrowed it down to my (ab)use of Spacey with multiple cursors to join and yank selections and then paste the combined text with SpaceP using a single cursor.
Reproduction Steps
Start with this file:
case
:%scase
ReturnX
Spacey
%
SpaceRExpected result (this worked a while ago):
Actual result:
It almost seems like the clipboard's contents break somehow. If I paste the yanked text in another editor, I get the expected result and from there I can copy and (in helix) paste the text without issues.
I tried inspecting the bytes of the yanked text by saving the bad result as a file, but wasn't able to find anything.
Helix log
log (-vvv, nothing of interest)
Platform
Windows
Terminal Emulator
wezterm (nightly)
Helix Version
e6d2835
The text was updated successfully, but these errors were encountered: