Cursor Moves to End of Line When AI Prompt Returns

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When there is a pending AI response with call to action button e.g. “Run”, the chat caret continually refocuses at the end of the line after each key up instead of remaining where it should be.

Steps to Reproduce

submit a prompt which results in a call to action button (e.g. “Run” button)

Expected Behavior

I should be able to type in the chat window without losing focus regardless of what is happening in the response window above it without loss of focus or having the caret moved unpredictably to the end of the line if i’m editing a prompt.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

ersion: 1.7.28 (Universal)
VSCode Version: 1.99.3
Commit: adb0f9e3e4f184bba7f3fa6dbfd72ad0ebb8cfd0
Date: 2025-10-01T02:45:21.769Z (1 day ago)
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 23.6.0

For AI issues: which model did you use?

Auto

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This issue occurs because there’s a pending terminal task that needs confirmation. In other cases, it should work as expected. We’ll try to fix this.

1 Like

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.