+1 — prompt input undo is essential for me too, and it’s currently completely missing.
I often edit multi-line prompts and accidentally delete or overwrite text. There is no way to undo those edits:
Ctrl+Zsuspends the process (SIGTSTP) instead of undoing- Vim mode (
/vim) does not implementu/ redo either — I verified this; only navigation/delete commands work - No edit history stack at all in the prompt input box
This makes the CLI prompt box feel broken compared to any normal text field or GUI editor.
Two requests:
- Proper undo/redo for prompt input — at minimum
Ctrl+Z/Ctrl+Shift+Zwith an edit history, or document clearly that it’s unsupported today. - Official CLI keyboard shortcuts reference page — right now shortcuts are scattered across Using Agent in CLI and Terminal setup, with no single page listing what works, what doesn’t, and what each key actually does in the prompt box. That would save a lot of guessing.
Happy to help test if the team ships this.