Visual Studio Code - Terminal Blank Screen

前端 未结 17 2079
梦如初夏
梦如初夏 2020-12-24 01:57

I\'ve been using Visual Studio Code since it was in beta and one of the features I like best about it is the integrated terminal for using the Angular CLI in app. I\'ve had

17条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-24 02:33

    This is the only thing that worked for me.

    Change this configuration:

    File -> Preferences -> Settings, search for terminal.explorerKind, edit to external

    or just edit the json file

    "terminal.explorerKind": "external"
    

    When VSCode prompted me telling me that using integrated was better, I followed its advice and switched. But a couple of days ago it started being very weird, in that it left a space between the actual prompt and whatever I was writing, like this: Sometimes the spacing left was of more than a dozen lines. It got instantaneously fixed once I switched back to external.

    PS: This was also the case with Microsoft's Powershell terminal. I don't know if other terminals have the same issue under Windows.

提交回复
热议问题