-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Fix multi line paste detection and filtering #8634
Conversation
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.
one shot, one target eliminated. excellent work
Hello @DHowett! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
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.
Okay that seems fine. I'd feel better with a test for this, since it's a little hard to follow, but there's not a good way of doing TermControl unittests at the moment, so I just stuck this on #7001 for now.
🎉 Handy links: |
🎉 Handy links: |
- Detect `\r` when warning about multi line paste - Translate `\n` to `\r` on paste ## PR Checklist * [x] Closes microsoft#8601 * [x] Closes microsoft#5821 ## Validation Steps Performed Manual testing
\r
when warning about multi line paste\n
to\r
on pastePR Checklist
Validation Steps Performed
Manual testing