Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
As of 2026.07.08, the multi-line prompt input changed from an auto-growing text area to a fixed-height viewport (now fixed at 6 visible lines, scrolling beyond that). Since this change, arrow-key cursor navigation no longer follows the rendered (soft-wrapped) line layout, making multi-line prompts very hard to edit.
- Left/Right jump or stop unexpectedly at wrap boundaries instead of moving to the end of the previous visual line.
- Up/Down do not preserve the horizontal column; the caret lands in the wrong column, and Up-then-Down does not return to the original position.
- Net effect: the cursor jumps to unexpected positions and is hard to maneuver.
Reproduces in BOTH Warp and macOS Terminal.app, so it is terminal-independent.
Steps to Reproduce
- Start cursor-agent.
- Enter a multi-line prompt (Ctrl+J for newlines) long enough to soft-wrap and exceed the 6-line visible input height.
- Navigate with Left/Right and Up/Down.
Expected Behavior
- Left/Right traverse visual lines naturally; crossing a wrap boundary moves to the adjacent visual line.
- Up/Down preserve a preferred horizontal column and land on the nearest glyph of the adjacent visual line; Up-then-Down returns to the original position.
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
- Introduced in: 2026.07.08-0c04a8a
- Still present in: 2026.07.09-a3815c0 (current latest)
- Last good version: 2026.07.01-41b2de7 (bisected by pinning the version symlink in ~/.local/share/cursor-agent/versions)
- OS: macOS 26.5.2
- Terminals: Warp and macOS Terminal.app (both affected)
Additional Information
Likely cause: cursor movement appears to operate on logical character offsets only, without a mapping between logical offsets, soft-wrapped visual lines, and x/y screen position, and without maintaining a preferred/goal column during vertical movement. This is a regression between 07.01 and 07.08; the earlier build navigated correctly.
Attachments: two screen recordings —
- cursor-cli-text-area-move-left.mov (Left/Right at wrap boundary)
- cursor-cli-text-area-move-down-up.mov (Up/Down column not preserved)
Does this stop you from using Cursor: No — Cursor works, but editing multi-line prompts is painful.
Does this stop you from using Cursor
No - Cursor works, but with this issue