Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
When the agent requests approval to run a shell command in the Agents Window (Glass UI), pressing Enter on the keyboard does not approve/run the command. Only clicking the Approve/Run button with the mouse works.
In the Editor Window (classic sidepanel agent chat), Enter to approve works as expected when the approval UI has focus.
This appears to be a keyboard focus/routing issue specific to the Glass UI, not intentional behavior.
Steps to Reproduce
- Open Agents Window (Cmd+Shift+P → “Open Agents Window”)
- Start an agent conversation that triggers a shell command requiring manual approval (e.g. a command not on the allowlist)
- When the Run/Approve prompt appears, press Enter
- Observe: nothing happens — command is not approved
- Click the Approve/Run button with the mouse
- Observe: command runs successfully
Control (works):
7. Switch to Editor Window (Cmd+Shift+P → “Open Editor Window”)
8. Repeat steps 2–3 in the sidepanel agent chat
9. Press Enter when the approval prompt is visible
10. Observe: command is approved and runs
Expected Behavior
Pressing Enter should approve/run the default action (Run/Approve) when a command approval prompt is shown — consistent with the Editor Window behavior.
Operating System
MacOS
Version Information
Version: 3.5.17
Commit: d5b2fc092e16007956c9e5047f76097b9e626ca0
VSCode Version: 1.105.1
OS: Darwin arm64 24.6.0
Additional Information
Possibly related to known Glass UI approval/focus issues in the Agents Window. Similar Enter-to-approve behavior was reported and fixed for the Editor sidepanel, but Agents Window still appears affected.
Workaround: Use the Editor Window for keyboard-heavy agent workflows, or click the approval button with the mouse.
Does this stop you from using Cursor
No - Cursor works, but with this issue