Cursor moves to end after typing single character during ai chat mode

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When you are in an AI chat, and the AI gives you a command to run, you can type in a new instruction to alter the course of its behavior. However, if you start typing, and then click somewhere previous in the line to perform an edit, after typing a single character the cursor will revert to the end of the line.

Steps to Reproduce

Type in the chat during AI action, and move the cursor to earlier in the line.

Expected Behavior

The cursor should stay where you put it as you type…

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.40 (Universal)
VSCode Version: 1.99.3
Commit: df79b2380cd32922cad03529b0dc0c946c311850
Date: 2025-10-09T02:55:11.735Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.1.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. To help the team investigate, could you clarify:

  • Does this happen specifically when:
  • AI has proposed a command/terminal action and is waiting for Accept/Reject while you’re editing your instruction in the chat input?
  • Or does it happen in the regular chat input during any AI response streaming?

If possible, a screen recording showing the exact moment would be really helpful.