Cursor agent randomly jumps to top of terminal

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

I am typing as usual, maybe I click some kind of keyboard shortcut, and it jumps to the top of the terminal and keeps typing (note the bottom two screenshots have their order flipped) – the needed-just run one is at the bottom of my terminal where i expect and the other one is where it jumps to at the top.

Steps to Reproduce

Not sure, happy to provide logs, probably I’m clicking some keyboard shortcut.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Latest for both.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. I can see the screenshot and there’s an interesting detail: the text [127;3u in the terminal is an escape sequence for Option+Delete (in the kitty keyboard protocol). It looks like that key combo might be the trigger.

A few questions so we can narrow this down:

  1. Which shell are you using (zsh, bash, fish)?
  2. What exact version of Cursor Agent are you on?
  3. Do you notice the jump happens specifically when you press Option+Delete (to delete a word)?

A similar issue was reported before: Terminal jumping to the top occasionally. The team is aware, and your report will help us prioritize it.

zsh, 2026.02.13-41ac335, yes option delete (usually a shortcut for removing last word in terminal).

1 Like