Home > OS >  When I delete the last tab of the terminal, the terminal window for some reason does not close autom
When I delete the last tab of the terminal, the terminal window for some reason does not close autom

Time:07-04

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

CodePudding user response:

Please make sure you enable "Close When Empty function" in window setting.

Commonly Used--> Window-->"Close When Empty function" enter image description here

CodePudding user response:

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.

  • Related