【问题标题】:Increase the width of line cursor in Visual Studio Code's terminal emulator?在 Visual Studio Code 的终端模拟器中增加行光标的宽度?
【发布时间】:2019-12-20 16:45:04
【问题描述】:

有没有办法增加终端中行光标的宽度?它太小了!我相信它是一个集成的 xterm.js,但我不知道是否可以更改设置等。 documentation 也无济于事。

这个问题Increase the caret cursor size in VS Code 处理编辑器的光标宽度,但它不适用于终端

【问题讨论】:

  • 有这个设置:terminal.integrated.cursorStyle, block 虽然是默认设置 - 尽可能大,非常大。确保您的设置为block
  • 此功能刚刚作为选项cursorWidth 添加到 xterm,js 中,并将成为下一个版本的一部分。不是什么时候会出现在 vscode 中,以及设置是否会在那里公开。
  • 我在这里创建了一个功能请求:github.com/microsoft/vscode/issues/87456。感谢@jerch 确认。 @Mark,我需要 line 光标,因为我更喜欢 line(用于编辑)和 block(用于 vim 模式)等。
  • 大声笑我希望你能理解我写的东西(错过了sure这个词),无论如何你的问题最终出现在正确的人身上:)
  • @jerch,我之前不懂你,但现在我懂了:-)。

标签: visual-studio-code terminal editor


【解决方案1】:

Visual Studio Code 中添加了配置 xterm 的cursorWidth 的功能;它应该在下一个版本中可用。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-05-16
    • 2021-05-26
    • 2022-01-16
    • 1970-01-01
    • 2020-06-16
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多