## 事象
[[Ghostty]]にて、[[Neovim]]で[[Tokyo Night (Neovim)|Tokyo Night]]のテーマを使っていると、右のように波線が[[Diagnostic (Neovim)|Diagnostic]]のレベルによって赤や黄で表示される。
しかし、[[herdr]]から起動すると左のように、文字色と同じ色の単なる下線になる。
![[2026-06-28-10-50-35.webp]]
### 環境
| 対象 | バージョン |
| ----------- | ------------------ |
| [[Ghostty]] | 1.3.2-HEAD+05c3e29 |
| [[herdr]] | 0.7.1 |
| [[Neovim]] | 0.12.3 |
## 原因
詳細は不明。関連してそうな以下のissueも別件ぽい。
<div class="link-card-v2">
<div class="link-card-v2-site">
<img class="link-card-v2-site-icon" src="https://github.githubassets.com/favicons/favicon.svg" />
<span class="link-card-v2-site-name">GitHub</span>
</div>
<div class="link-card-v2-title">
Herdr does not respond to terminal capability queries (XTGETTCAP, DSR, DA) · Issue #393 · ogulcancelik/herdr
</div>
<div class="link-card-v2-content">
Is this a reproducible bug? I confirm this is a reproducible bug, not a feature request, idea, question, contrib ...
</div>
<img class="link-card-v2-image" src="https://opengraph.githubassets.com/7e8465bce6f0d0c50974c66bb3cf4d743016ad9ee72ab6747d846ba22ee9f0bf/ogulcancelik/herdr/issues/393" />
<a href="https://github.com/ogulcancelik/herdr/issues/393"></a>
</div>
せっかくなので軽くコメントだけ残しておいた。
## 解決方法
現時点ではなし。
## 追加調査 (2026-07-12)
> [!right-bubble] ![[minerva-face-right.webp]]
> > [!caution] [[ミネルヴァ]](agent)により自動で記述された項目です。
>
- [Issue #895](https://github.com/ogulcancelik/herdr/issues/895) の修正は **v0.7.2 (2026-07-07) でリリース済**(最新は v0.7.3)。ただし修正されたのは波線の「形状」(undercurlが波線として描画される)のみで、**色(赤・黄)は依然として文字色のまま**という報告が複数上がっている。
- 色の問題は [#1169 Undercurl color not rendered](https://github.com/ogulcancelik/herdr/issues/1169)(OPEN)として別途トラッキングされている。libghosttyからのデータ取得は正しいが、ratatuiの `Style` からワイヤープロトコルの `Cell` へ下線色がコピーされていないのが原因との分析があり、コミュニティによる[修正ブランチ](https://github.com/ogulcancelik/herdr/compare/master...MaartenStaa:herdr:issue/1169-undercurl-color-not-rendered)がPR承認待ち。関連: [#1252](https://github.com/ogulcancelik/herdr/issues/1252)(OPEN)。