-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Ensure clipboard data is shared in the format Windows expects #10284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
dbbd0ee
to
8ddcfd5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good (I think). I don't have much experience with Rust.
8ddcfd5
to
5d5aede
Compare
5d5aede
to
0e1bb2c
Compare
0e1bb2c
to
d1e87ae
Compare
d1e87ae
to
5383f7b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unit tests for the CRLF
conversion would be nice to have if that piece can be easily unit tested.
8aad396
to
6ac328c
Compare
6ac328c
to
4e3e99e
Compare
Notably: line endings must be CRLF, and the strings must be null-terminated. We convert from LF **to** CRLF endings when pasting on Windows, but we don't do any conversion in the other direction (CRLF copied on a remote desktop will be sent directly to the user's workstation unmodified).
4e3e99e
to
b68c556
Compare
Notably: line endings must be CRLF, and the strings must be
null-terminated.
We convert from LF to CRLF endings when pasting on Windows, but we don't
do any conversion in the other direction (CRLF copied on a remote
desktop will be sent directly to the user's workstation unmodified).
Updates #9980