Visual Studio Code blank terminal, can't enter/type anything [Windows 10]
Here's a video that helped me find a way to solve this issue.
I unchecked the compatibility mode in VS Code properties where it says Run this program in compatibility mode for:.
But this made the terminal open in an external window instead of being integrated in VS Code whenever I opened an new terminal inside VS Code.
So I also disabled the Conpty for Windows terminal inside VS code settings > Terminal > Inegrated:Windows Enable Conpty
"terminal.integrated.windowsEnableConpty": false
The interesting point to note here is that this solution didn't work for me when this problem first arose. At that time, I had my VS code with all the extensions installed. After updating Windows, reinstalling fresh copy of VS code without any extensions, this solution did do the trick for me.
So, the underlying issue was probably with the outdated Windows, or some extensions that I had installed.
I switched off git.autorefresh
in the settings. In VS code, go to file --> Preferences ---> settings and in the search bar type git.autorefresher
; then, uncheck whether auto refreshing is enabled.
under Git:Autorefresh:
This way worked for me.