# Incorrect Mouse Focus when typing CTRL-D

**URL:** <https://forum.cursor.com/t/incorrect-mouse-focus-when-typing-ctrl-d/113546>\
**Category:** Bug Reports\
**Created:** [July 4, 2025, 3:02pm UTC](https://forum.cursor.com/t/incorrect-mouse-focus-when-typing-ctrl-d/113546 "2025-07-04T15:02:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tilo\_Sloboda](https://avatars.discourse-cdn.com/v4/letter/t/d9b06d/32.png) [@Tilo\_Sloboda](https://forum.cursor.com/u/Tilo_Sloboda)\
**Post date:** [July 4, 2025, 3:02pm UTC](https://forum.cursor.com/t/incorrect-mouse-focus-when-typing-ctrl-d/113546/1 "2025-07-04T15:02:32Z")

</div>

### Describe the Bug

When typing CTRL-D in a Chat, the expected behavior is that the character at the cursor position is deleted in the chat conversation.

Actual behavior: it deletes a character in the the last opened editor file (that shouldn’t have mouse focus at all)

### Steps to Reproduce

1. open a file , position the cursor where you can see it
2. start a chat
3. type something, and go back to the start of that line e.g. with CTRL-A
4. type CTRL-D to delete a character  
 → a character in the opened editor file will be removed instead of the chat window

### Expected Behavior

focus should be only in the chat window, and all control characters should only be affecting the text typed in the chat window – NEVER in an editor window

### Operating System

MacOS

### Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.1  
VSCode Version: 1.99.3  
Commit: 031e7e0ff1e2eda9c1a0f5df67d44053b059c5d0  
Date: 2025-07-03T06:06:37.704Z  
Electron: 34.5.1  
Chromium: 132.0.6834.210  
Node.js: 20.19.0  
V8: 13.2.152.41-electron.0  
OS: Darwin arm64 24.5.0

### Additional Information

- this is very annoying, and interrupts the workflow
- have to check and restore content in the editor window 😕

### Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [July 26, 2025, 3:03pm UTC](https://forum.cursor.com/t/incorrect-mouse-focus-when-typing-ctrl-d/113546/2 "2025-07-26T15:03:20Z")

</div>

Closed on July 26, 2025, 3:03pm UTC

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