HTROY/dsh-terminal-font ↗★ 1

dsh-terminal-font

DeepSeek Harness plugin: set the sidebar terminal font (Nerd Font family and size) from Settings, so oh-my-posh / Powerline / Nerd Font glyphs render correctly. 适合使用oh-my-posh等终端主题,需要解决图标乱码的用户。

Package
dsh-terminal-font
Compatibility
Unverified
Version
1.0.0
License
MIT
Last updated
Oct 4, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HTROY/dsh-terminal-font

使用

  1. 打开 设置 → 终端。
  2. 字体 留空即使用推荐字体栈(依次尝试 CaskaydiaCove Nerd Font Mono、 JetBrainsMono Nerd Font Mono、CaskaydiaMono Nerd Font Mono、Hack Nerd Font Mono、 MesloLGS NF,最后回退到内置字体栈)——只要机器上装了其中任意一款,图标就会正常显示。
  3. 也可以填任意已安装的字体名,输入框的下拉列表给出常见 Nerd Font 名称。 填写的内容会作为 "", 使用;若填写内容含逗号,则按完整的 CSS 字体列表使用。
  4. 字号 用 −/+ 调整;选 自动 表示沿用终端内置字号。改字号后终端会自动重新适配列宽 (xterm 网格与 PTY 一起更新)。
  5. 预览 会实时显示 Powerline 分隔符与常用图标;显示为方块说明该字体未安装或名字不对。

设置保存在浏览器 localStorage(键 dsh-terminal-font.settings.v1)——它描述的是"这台机器用什么字体 画终端",属于浏览器侧偏好,而不是 Host 端配置。更改会立即作用于已打开的终端。