-
Notifications
You must be signed in to change notification settings - Fork 58
term: allow multi-line bracketed paste to not create single line with LF entry #21
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
base: master
Are you sure you want to change the base?
Conversation
This PR (HEAD: 76633e0) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/term/+/687755. Important tips:
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/687755. |
This PR (HEAD: 48ea529) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/term/+/687755. Important tips:
|
Message from Laurent Demailly: Patch Set 3: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/687755. |
This PR (HEAD: bc5cb00) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/term/+/687755. Important tips:
|
Treat "\n" (LF) like "Enter"
Avoids when pasting 3 lines
(with a terminal like kitty, ghostty, alacritty that don't change the clipboard
in bracketed paste mode)
Test> line one
..............line.two
......................line.three
so they do not turn into 1 prompt refresh like this
Fixes golang/go#74600
ps: changed spaces by . because gerrit doesn't allow markdown