after executing the Run in Terminal button the terminal opens up and runs the code correctly, but after killing the terminal the button in the right corner (Run in Terminal) doesn't open the terminal again unless you close the vs code and open it again.