dsh-smooth-cursor-patched
DSH Web 输入框的彗星光标:发光拖尾随文字位置平滑滑动,可配置强调色、粗细、拖尾,并在静止 500ms 后呼吸。覆盖 ask-question 交互卡片的输入框,并修复空输入框或首次聚焦时光标消失、正向拖选不跟随鼠标、软换行按上一行测量、长内容滚动时光标绘制到输入框之外等问题。Lacquervii/smooth-cursor 的维护分支。
Comet-mode animated caret for the DSH Web composer: a glowing trail glides to the text position, with configurable accent color, thickness, trail, and a 500 ms idle blink. Extends the surface to ask-question card inputs, and fixes the caret vanishing on an empty composer or first focus, forward drag-selection not following the pointer, soft line breaks measuring against the previous line, and the caret painting outside the composer when long input scrolls. Maintained fork of Lacquervii/smooth-cursor.
怎么安装
dsh plugin add dsh-smooth-cursor-patched 简介
dsh-smooth-cursor-patched **中文 | English** 一个为 DSH(DeepSeek Harness)打造的**平滑彗星光标(社区修补版)**——把原生输入光标替换成一枚会随输入平滑滑动的发光彗星,支持自定义拖尾、强调色、粗细及 500ms 呼吸节拍。 **关于本仓库** 这是 Lacquervii/smooth-cursor 的个人修补分支。上游自 2026-09-09 起未再更新,故在此维护一份可用版本。 - 精力有限,不保证及时关注这个仓库,且随时可能断更 - 欢迎提 issue,但回复可能很慢 - 上游若恢复维护,我会优先回归上游 --- 相对上游的改动 上游 dsh-smooth-cursor 在以下场景存在可复现的缺陷,本分支逐项修复: **空内容与初次聚焦保活** — 上游在空输入框或初次点击时,光标测量拿到零高度矩形,导致光标不显示。本分支为富文本输入框增加了分层测量与空行兜底。 **双向划词跟手** — 上游固定取选区第 0 个矩形,正向拖选(从左往右)时光标不跟鼠标。本分支按选区方向(selectionDirection)选择首/末矩形,并把选区终点与方向纳入重测签名。 **换行空行精准拦截** — 上游依赖 range.getBoundingClientRect(),在空行上会拿到 Chromium 回溯吸附的矩形,光标停留在…
推荐参考
信息
- 协议
- MIT
- 语言
- TypeScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-09-22
- 创建于
- 2026-09-22
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- caret, cursor, deepseek-harness, dsh, dsh-plugin
同类推荐
radar
skyhook-io/radar
缺失的开源Kubernetes UI,内置面向AI代理的MCP服务器。查看出了什么问题、原因以及变化。问题、拓扑、事件时间线、Helm、GitOps、实时服务流量和集群审计——全部集成在一个Go二进制文件中。
dsh-desktop
anywhere-labs/deepseek-harness-desktop
为 DeepSeek Harness (DSH) 生态打造的现代化桌面端体验