终端 > 终端外观
文本、字体与光标
# 文本、字体与光标 import VideoEmbed from '@components/VideoEmbed.astro'; :::note 一旦在系统中安装了新字体,你需要重启 Warp 才能在选项列表中看到它。你可能还需要勾选“查看所有可用系统字体”才能找到新字体。 ::: ## 如何使用 ### 文本与字体 要访问此设置,请前往 **设置 (Settings)** > **外观 (Appearance)** > **文本 (Text)**。 在此处你可以自定义: * 字体类型 * 字重 * 字号 * 行高 * 使用细笔画 * 默认设置可防止文本在低 DPI 显示器上显得模糊。 :::caution 在 Linux 上,Warp 不支持“使用细笔画”功能。 ::: * 强制最小对比度 * 默认设置会调整命名颜色以符合无障碍标准。 * 在终端中显示连字 :::note 启用连字可能会降低性能。Warp 的默认字体 Hack 尚不支持连字。我们建议将支持连字的字体(例如 [Fira Code](https://github.com/tonsky/FiraCode))作为过渡方案。 ::: ### 光标 要访问此设置,请前往 **设置 (Settings)** > **外观 (Appearance)** > **光标 (Cursor)**。 在此处你可以自定义: * 选择光标类型:条形、块形或下划线。 * 切换闪烁光标,或者在 [命令面板 (Command Palette)](/terminal/command-palette/) 中输入“Cursor blink”来切换该设置。 :::note 当 [Vim 键位绑定](/terminal/editor/vim/) (vim 模式) 处于激活状态时,光标类型偏好设置将被禁用。 ::: ## 工作原理 <VideoEmbed url="https://www.loom.com/share/be2fa6ab10a3494a8c57a5431966905b?hide_owner=true&hide_share=true&hide_title=true&hideEmbedTopBar=true" title="文本与字体演示" /> <VideoEmbed url="https://www.loom.com/share/6ce3218472894763bb80a26b6c632c4d?hide_owner=true&hide_share=true&hide_title=true&hideEmbedTopBar=true" title="光标演示" />Warp 支持自定义字体以及文本的显示方式。这有助于提高可读性和易用性。Warp 还支持禁用光标闪烁。
如何使用
标题为“如何使用”的章节文本与字体
标题为“文本与字体”的章节要访问此设置,请前往 设置 (Settings) > 外观 (Appearance) > 文本 (Text)
在此处你可以自定义
- 字体类型
- 字重
- 字号
- 行高
- 使用细笔画
- 默认设置可防止文本在低 DPI 显示器上显得模糊。
- 强制最小对比度
- 默认设置会调整命名颜色以符合无障碍标准。
- 在终端中显示连字
要访问此设置,请前往 设置 (Settings) > 外观 (Appearance) > 光标 (Cursor)
在此处你可以自定义
- 选择光标类型:条形、块形或下划线。
- 切换闪烁光标,或者在 命令面板 (Command Palette) 中输入“Cursor blink”来切换该设置。