hermes - 💡(How to fix) Fix [Bug]: TUI content width does not follow terminal resize — large empty space on right side [1 pull requests]

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…

Root Cause

  • This is unrelated to the voice-input rendering collapse bug
  • Likely caused by a hardcoded maxWidth in the Ink layout components
  • The composer.cols value appears to not be the limiting factor — it may be a max-width set on the top-level <Box> or container in appLayout.tsx or the transcript pane

Fix Action

Fixed

RAW_BUFFERClick to expand / collapse

Bug Description

When the terminal window is resized horizontally to be wider, the content area of hermes --tui does not expand to fill the available width. Instead, the content stays at a fixed width, leaving a large empty space on the right side of the terminal.

To Reproduce

  1. Run hermes --tui
  2. Resize the terminal window wider — drag from 80 columns to 160 columns
  3. Observe: the content width stays fixed at approximately 80-100 columns
  4. The right side of the terminal window becomes empty/unused space

Expected Behavior

Content should adapt to the full terminal width, expanding to fill the available columns.

Actual Behavior

  • Content width is capped at a fixed maximum, regardless of terminal width
  • Right side of the terminal window is empty
  • Beyond a certain window width, content stops expanding entirely
  • No horizontal scrollbar appears (content is not wide enough to scroll — the TUI simply doesn't use the full width)

Screenshot

Window is wide, but content only fills ~2/3 of the width, right side is empty:

<!-- Drag screenshot-20260531-175208.jpeg here -->

Environment

  • Hermes Agent: latest main (4ccd141b)
  • macOS: 26.5
  • Terminal: Terminal.app

Additional Context

  • This is unrelated to the voice-input rendering collapse bug
  • Likely caused by a hardcoded maxWidth in the Ink layout components
  • The composer.cols value appears to not be the limiting factor — it may be a max-width set on the top-level <Box> or container in appLayout.tsx or the transcript pane

This work was contributed with assistance from Hermes Agent.

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 [Bug]: TUI content width does not follow terminal resize — large empty space on right side [1 pull requests]