Describe the Bug
When composer executes terminal commands it seems to keep an internal state of the current working directory. This is always clear after the command is executed but before the command is executed you don’t know what the CWD will be. This can have unintended side effects if a command runs in a directory you weren’t expecting.
Steps to Reproduce
Run any command in composer and you can see that no CWD is present anywhere in the UI.
Operating System
Windows 10/11
MacOS
Linux
Current Cursor Version (Menu → About Cursor → Copy)
Version: 0.50.7
VSCode Version: 1.96.2
Commit: 02270c8441bdc4b2fdbc30e6f470a589ec78d600