Bug with terminal cursor not reflecting .env changes immediately

I encountered a bug when using the terminal with the cursor. After modifying environment variables in the .env file, running docker-compose config in the terminal does not reflect the changes immediately. I have to open a new terminal and run docker-compose config to see the updates. This bug still exists in version 0.42.1. When tested in VSCode, this issue does not occur.

Hi i encountered the same issue. is there any solution for this issue?