When writing a very long prompt to cursor cli with bullet numbers etc. once you want to edit something in the middle or top of the prompt, the text box you are writing it does not grow with the size or does not scroll down and up for where you expect it to be.
Thus it becomes impossible to understand what’s written where.
Steps to Reproduce
Write a very big prompt in iterm2 to Cursor CLI.
Once you want to edit some of the text in the middle, the cli just jumps up and it becomes impossible to see what you are editing.
This is a known issue we’re already tracking. When the caret sits at the end of a line partway through a long prompt, the input box can jump back to the top instead of following where you’re typing. The box is capped at 6 visible lines by design, but it’s meant to scroll to keep the caret in view, and right now it doesn’t always do that.
In the meantime, for long structured prompts the easiest workaround is to press Ctrl+G, which opens your draft in an external editor (it uses your $VISUAL or $EDITOR); alternatively, adding a trailing space at the end of a line and typing just before it keeps the caret visible.