【问题标题】:Visual Studio Code: Text and cursor position are not correctVisual Studio Code:文本和光标位置不正确
【发布时间】:2021-07-09 16:28:27
【问题描述】:

我在集成的 Visual Studio 代码控制台中遇到了一种奇怪的行为。文本格式不正确,光标位置不正确:

软件版本:

  • Windows 10 专业版;
  • Visual Studio 代码 1.55.2;

我已经试过了:

  • 关闭 Visual Studio 代码并重新打开;
  • 关闭所有集成终端实例并再次打开;
  • 使用 cmd 代替 powershell。

【问题讨论】:

    标签: windows powershell visual-studio-code cmd terminal


    【解决方案1】:

    经过一些测试,我终于发现PowerShell 被选为默认终端配置文件。将其更改为命令提示符后,感觉和外观恢复正常。

    按照步骤更改默认终端配置文件

    1. 打开终端上角的选择框;
    2. 选择“选择默认配置文件”选项;
    3. 然后选择命令提示符。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-02-21
      • 2016-05-27
      • 2018-05-07
      • 1970-01-01
      • 2019-05-08
      • 1970-01-01
      • 2022-07-06
      • 1970-01-01
      相关资源
      最近更新 更多