Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
readline: add features yank and yank pop#41301
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
rayw000 commented Dec 23, 2021 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
jasnell commented Dec 23, 2021
+1 to adding this. Needs tests and doc updates also tho |
rayw000 commented Dec 23, 2021
No problem. I'll update tomorrow. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
rayw000 commented Jan 18, 2022
This PR and #41392 are conflicting. Once one of them is accepted, I'll update the other. |
Ayase-252 commented Jan 21, 2022
Blocked on #41392 |
Ayase-252 commented Jan 21, 2022
#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
nodejs-github-bot commented Jan 22, 2022
nodejs-github-bot commented Jan 22, 2022
nodejs-github-bot commented Jan 22, 2022
Landed in 2f17004 |
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 <[email protected]> Reviewed-By: Qingyu Deng <[email protected]>
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: nodejs#41301Fixes: nodejs#41252 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Qingyu Deng <[email protected]>
danielleadams commented Apr 11, 2022
@rayw000 do you mind backporting this to v16.x? When landing the PR, it breaks tests. |
danielleadams commented Apr 11, 2022 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
@rayw000 no problem - I'll mark as |
yankandyank popFixes: #41252