Uh oh!
There was an error while loading. Please reload this page.
readline: add features yank and yank pop - #41301
Merged
Merged
Conversation
jasnell
reviewed
Dec 23, 2021
Uh oh!
There was an error while loading. Please reload this page.
jasnell
reviewed
Dec 23, 2021
Uh oh!
There was an error while loading. Please reload this page.
jasnell
commented
Dec 23, 2021
Member
+1 to adding this. Needs tests and doc updates also tho |
rayw000
commented
Dec 23, 2021
ContributorAuthor
No problem. I'll update tomorrow. |
Uh oh!
There was an error while loading. Please reload this page.
jasnell
reviewed
Jan 17, 2022
Uh oh!
There was an error while loading. Please reload this page.
jasnell
approved these changes
Jan 17, 2022
rayw000
commented
Jan 18, 2022
ContributorAuthor
This PR and #41392 are conflicting. Once one of them is accepted, I'll update the other. |
Ayase-252
commented
Jan 21, 2022
Member
Blocked on #41392 |
Ayase-252
commented
Jan 21, 2022
Member
#41392 was merged. Unblocked |
1. `Ctrl-Y` to yank previously deleted text 2. `Meta-Y` to do yank pop (cycle among deleted texts) 3. Use `getCursorPos().rows` to check if we have reached a new line, instead of `getCursorPos().cols === 0`. 4. document and unittests.
nodejs-github-bot
commented
Jan 21, 2022
Collaborator
17 tasks
nodejs-github-bot
commented
Jan 22, 2022
Collaborator
nodejs-github-bot
commented
Jan 22, 2022
Collaborator
Ayase-252
approved these changes
Jan 22, 2022
nodejs-github-bot
commented
Jan 22, 2022
Collaborator
Landed in 2f17004 |
This was referenced Jan 23, 2022
BethGriggs pushed a commit
that referenced
this pull request
Jan 25, 2022
1. `Ctrl-Y` to yank previously deleted text 2. `Meta-Y` to do yank pop (cycle among deleted texts) 3. Use `getCursorPos().rows` to check if we have reached a new line, instead of `getCursorPos().cols === 0`. 4. document and unittests. PR-URL: #41301Fixes: #41252 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Qingyu Deng <i@ayase-lab.com>
26 tasks
danielleadams
commented
Apr 11, 2022
Contributor
@rayw000 do you mind backporting this to v16.x? When landing the PR, it breaks tests. |
Contributor
@rayw000 no problem - I'll mark as |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
yankandyank popFixes: #41252