Whitespace is lost during copy-paste if it's at the end of the terminal line #1635
Labels
bug
Something isn't working
fixed-in-nightly
This is (or is assumed to be) fixed in the nightly builds.
What Operating System(s) are you seeing this problem on?
Linux X11
WezTerm version
20220101-133340-7edc5b5a
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
No, and I'll explain why below
Describe the bug
If I have a wrapped line like this (note, whitespace at the end of the first line, the string typed is
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa BBB
):and I select it with the mouse, copy-pasting it into another wezterm instance with Shift+Ctrl+C, Shift+Ctrl+V, then the whitespace from the middle is lost:
The pasted string is now
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaBBB
(2 spaces in the middle were removed).Video:
wezterm-copy-paste-lost-whitespace.mp4
To Reproduce
No response
Configuration
Expected Behavior
Copy-pasting preserves input exactly.
Logs
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: