-
Notifications
You must be signed in to change notification settings - Fork 58
term: allow multi-line bracketed paste to not create single line with verbatim LFs #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:
|
This PR (HEAD: 3d202e8) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/term/+/687755. Important tips:
|
Message from Michael Pratt: Patch Set 8: Commit-Queue+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/687755. |
Message from Go LUCI: Patch Set 8: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2025-07-15T21:12:59Z","revision":"8dda9b9326926f8c4dd2e14350cdb5a2c78e1583"} Please don’t reply on this GitHub thread. Visit golang.org/cl/687755. |
Message from Michael Pratt: Patch Set 8: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/687755. |
Message from Go LUCI: Patch Set 8: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/687755. |
Message from Go LUCI: Patch Set 8: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/687755. |
Message from Laurent Demailly: Patch Set 8: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/687755. |
Message from Laurent Demailly: Patch Set 8: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/687755. |
This PR (HEAD: 518f25b) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/term/+/687755. Important tips:
|
Squashed commit of the following: commit 3d202e8 Author: Laurent Demailly <[email protected]> Date: Sun Jul 13 17:27:48 2025 -0700 Handle CR+LF: consume LF after CR, to avoid empty extra lines in dos new line content commit bc5cb00 Author: Laurent Demailly <[email protected]> Date: Fri Jul 11 17:57:31 2025 -0700 keyLF is as much of a key as keyCtrlD so removing the comment commit 48ea529 Author: Laurent Demailly <[email protected]> Date: Fri Jul 11 17:36:03 2025 -0700 missed a spot commit 76633e0 Author: Laurent Demailly <[email protected]> Date: Fri Jul 11 16:57:45 2025 -0700 Allow multi-line bracketed paste to not create single line with LF entry
Message from Michael Pratt: Patch Set 9: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/687755. |
Message from Laurent Demailly: Patch Set 9: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/687755. |
This PR (HEAD: cb5628d) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/term/+/687755. Important tips:
|
This PR (HEAD: 0cf26df) 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" (CR)
Avoids that when pasting 3 lines
(with a terminal like kitty, ghostty, alacritty that do not change the clipboard
in bracketed paste mode)
it turns into 1 prompt looking like:
Test> line one
..............line.two
......................line.three
Fixes golang/go#74600