Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
The agents window allows us to work across projects but weirdly the terminal is always defaulting to one of the workspace’s directory instead of opening into the directory of the current workspace of the agent we are working with.
Steps to Reproduce
- Open the Agents window
- Open a new terminal in workspace A. Note the cwd.
- Open another terminal but in workspace B. The cwd will be that of A.
Expected Behavior
It should open the current working directory of whichever workspace we are in, not the first one we had when the window was opened. This is very annoying as I have to change directories always. Its like showing the files from another workspace except in the terminal in this case.
Operating System
Windows 11 with WSL workspaces
(not sure about native windows behavior coz all my projects run in WSL)
Version Information
Version: 3.3.30 (user setup)
VSCode Version: 1.105.1
Commit: 3dc559280adc5f931ade8e25c7b85393842acf30
Date: 2026-05-09T18:28:42.332Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200
Does this stop you from using Cursor
No - Cursor works, but with this issue