Search code examples
visual-studio-code

When I delete the last tab of the terminal, the terminal window for some reason does not close automatically :(


When I delete the last tab of the terminal, the terminal window for some reason does not close automatically. The panel remains open even though there is nothing there. How to make the panel close when all terminal tabs are deleted? It works on another PC, but for some reason, it doesn't here. You have to close it yourself either with a cross or ctrl + j. How to fix it?

VS Code Version: 1.68.1

Image

Image


Solution

  • This was due to the fact that the outline block from explorer somehow got into the terminal panel and was hidden, if you transfer it back to an explorer, then the terminal panel automatically closes when all tabs are deleted.