VS Code Terminal Not Allowing Typing

二次信任 提交于 2021-02-05 08:04:53

问题


My VS code terminal was working fine, until one day when I tried to work on a project, that was still open in VS code, my terminal didn't allow me to type any commands. I couldn't type anything. This is the screen that I get.


回答1:


Okay, for those of you struggling with the same problem, I've managed to solve it by clicking on the drop-down menu that says powershell and changing it to cmd.




回答2:


For me, I tried using Powershell/CMD/Bash and I was having errors/blank terminal. I found typing echo hello and pressing CTRL + C made it appear. So in fact, everything was working, my terminal was just blank/glitched out, but was really accepting input.




回答3:


I changed from bash to powershell in terminal first but the command prompt still not shown. Then I navigate to File -> Perferences -> Settings and it starts working (command prompt shown)




回答4:


Go to terminal, preferences, settings. Check "run code in terminal" Restart VS.



来源:https://stackoverflow.com/questions/50913373/vs-code-terminal-not-allowing-typing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!