mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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: https://github.com/nodejs/node/pull/41301 Fixes: https://github.com/nodejs/node/issues/41252 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Qingyu Deng <i@ayase-lab.com>