
解决方法如下:
把默认的powershell改为Git中的 bash即可,就是把Git配置到VS code 中。
首先,打开用户设置,搜索shell,找到【终端在windows上使用的shell的路径】选项

(学习视频教程推荐:java视频教程)

然后只需要把git-bash路径添加进去即可

找到Git文件夹,把git-bash添加到终端下的Integrated >shell:Windows保存即可

推荐教程:vscode教程
以上是vscode终端无法输入怎么办的详细内容。更多信息请关注PHP中文网其他相关文章!