hermes - 💡(How to fix) Fix [CLI Bug] WSL终端下划线字符渲染丢失,影响目录名显示和工具白名单配置 [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#13645Fetched 2026-04-22 08:05:06
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3
RAW_BUFFERClick to expand / collapse

--------------------------17rxBNLdQyngSWB4gBAy0Q Content-Disposition: form-data; name="text"

Hermes CLI 下划线渲染 Bug 补充说明

问题描述

Hermes CLI 的 TUI 界面中,带下划线的目录名/文件名/工具名在渲染时丢失下划线。

影响场景

  1. 可读性 — 目录名如 temp_skill_test 显示为 tempskilltest,需对照 terminal 原始输出才能确认
  2. 工具白名单配置 — MCP 工具真实名称含下划线(如 video_transcriberopenai_whisper),但配置文件中只能看到丢失下划线的版本,导致白名单匹配失败或配置错误

复现方式

在 WSL 终端中执行以下命令后观察渲染输出: $ ls -la ~/.hermes/ 或 $ echo "temp_skill_test"

受影响元素

  • 目录名含下划线(如 temp_skill_test
  • 配置文件中的路径含下划线
  • 装饰框(╭─ ⚕ Hermes ──╮)内包裹的命令文本下划线丢失

环境信息

  • 平台:WSL(Windows Subsystem for Linux)
  • 终端:Windows Terminal(或类似)
  • Hermes 版本:见主报告

根因定位

问题出在 ui-tui/src/components/ 的渲染层,装饰框对特殊字符处理有误。

--------------------------17rxBNLdQyngSWB4gBAy0Q--

extent analysis

TL;DR

The issue can be fixed by modifying the rendering layer in ui-tui/src/components/ to correctly handle special characters, such as underscores.

Guidance

  • Verify that the issue is indeed caused by the rendering layer's handling of special characters by checking the source code in ui-tui/src/components/.
  • Check if there are any existing character escaping or encoding functions that can be used to preserve underscores in directory names and file names.
  • Consider adding a test case to ensure that the rendering layer correctly handles special characters, including underscores.
  • Review the configuration file parsing logic to ensure that it can handle directory names and file names with underscores correctly.

Example

No code snippet is provided as the issue does not contain sufficient information about the specific code implementation.

Notes

The fix may require modifications to the ui-tui/src/components/ code, and it is essential to test the changes thoroughly to ensure that they do not introduce any new issues.

Recommendation

Apply a workaround by modifying the rendering layer to correctly handle special characters, as upgrading to a fixed version is not mentioned in the issue. This is because the issue seems to be related to a specific implementation detail in the rendering layer, and a workaround can be implemented without waiting for a new version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix [CLI Bug] WSL终端下划线字符渲染丢失,影响目录名显示和工具白名单配置 [1 participants]