hermes - ✅(Solved) Fix banner_logo not centered when using custom skins [1 pull requests, 2 comments, 2 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#13800Fetched 2026-04-24 05:50:36
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
0
Author
Participants
Timeline (top)
labeled ×3commented ×2cross-referenced ×1

Root Cause

Root cause: In hermes_cli/banner.py line 533, the logo is rendered with:

console.print(_logo)

Fix Action

Fixed

PR fix notes

PR #13815: fix(banner): center banner_logo in terminal

Description (problem / solution / changelog)

Summary

In hermes_cli/banner.py, the banner_logo was printed left-aligned with console.print(_logo). The screenshot generator already uses Align.center(logo) — now the live banner does too.

Root cause: Line 533 called console.print(_logo) directly without centering.

Fix: Wrap _logo with Align.center().

Changes

  • hermes_cli/banner.py: from rich.align import Align + console.print(Align.center(_logo))

Closes #13800

Changed files

  • hermes_cli/banner.py (modified, +2/-1)

Code Example

console.print(_logo)

---

console.print(Align.center(logo))

---

from rich.align import Align
# ...
console.print(Align.center(_logo))
RAW_BUFFERClick to expand / collapse

When using a custom skin with banner_logo defined, the logo is printed left-aligned instead of being centered in the terminal.

Steps to reproduce:

  1. Install a custom skin with banner_logo (e.g. sakura from hermes-skins)
  2. Launch hermes with the skin active
  3. Observe the banner logo position

Expected behavior: The banner_logo should be centered in the terminal, matching the screenshot generation in generate_screenshots.py which uses Align.center(logo).

Actual behavior: The logo is left-aligned regardless of terminal width.

Root cause: In hermes_cli/banner.py line 533, the logo is rendered with:

console.print(_logo)

But the screenshot generator uses:

console.print(Align.center(logo))

The fix is to wrap _logo with Align.center() and add the import:

from rich.align import Align
# ...
console.print(Align.center(_logo))

Environment:

  • Terminal: Windows Terminal (PowerShell)
  • Terminal width: 120 columns
  • Skin: sakura
  • Hermes version: 0.7.0

extent analysis

TL;DR

The issue can be fixed by wrapping the _logo with Align.center() in hermes_cli/banner.py to center the logo in the terminal.

Guidance

  • The root cause is identified as the missing Align.center() wrapper around _logo in hermes_cli/banner.py, which is present in the screenshot generator.
  • To fix the issue, add the import from rich.align import Align and modify the console.print(_logo) line to console.print(Align.center(_logo)).
  • Verify the fix by launching hermes with the custom skin and checking if the logo is centered in the terminal.
  • Ensure that the terminal width is sufficient to display the logo centered, as the issue is observed with a terminal width of 120 columns.

Example

from rich.align import Align
# ...
console.print(Align.center(_logo))

Notes

This fix assumes that the rich library is already installed and imported in the hermes_cli/banner.py file. If not, additional imports or installations may be required.

Recommendation

Apply the workaround by modifying the hermes_cli/banner.py file to wrap _logo with Align.center(), as this directly addresses the identified root cause.

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