Fix keybinding for Ctrl+Y in CLI

Feature request for product/service

Cursor CLI

Describe the request

Currently, the CLI binds Ctrl+Y to show previous sessions; however, under most CLI apps that use readline bindings, Ctrl+Y is used to “yank” a previously “killed” bit of text. Confusingly, Cursor CLI supports all the normal readline/emacs style keystrokes for “killing” bits of input into the buffer, but doesn’t appear to provide any mechanism to “yank” the buffer back to input. This has caused me to have to rewrite critical prompts many times when I was trying to perform edits using the kill/yank cycle.

Here’s a screen recording with Keycastr showing how this is usually expected to work.