Skip to content

fix(tui): fix status bar width fluctuation by capping model name width (Closes #13610)#13806

Closed
ms-alan wants to merge 3 commits into
NousResearch:mainfrom
ms-alan:fix/13610-statusbar-width
Closed

fix(tui): fix status bar width fluctuation by capping model name width (Closes #13610)#13806
ms-alan wants to merge 3 commits into
NousResearch:mainfrom
ms-alan:fix/13610-statusbar-width

Conversation

@ms-alan

@ms-alan ms-alan commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

Summary

The TUI status bar's model name field had no width constraint, so when the ticker cycled between model names of different lengths, the entire status bar grew and shrank — creating a jarring visual experience.

Fix: Wrap the model name in a fixed-width <Text width={18} wrap="truncate-end"> container. Long names are truncated with ellipsis, short names stay left-aligned, and the status bar layout remains stable.

Changes

  • ui-tui/src/components/appChrome.tsx: Give the model name a fixed width={18} with truncate-end wrapping

Testing

hermes --tui → observe status bar width stays stable as model name changes

Closes #13610

@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/tui Terminal UI (ui-tui/ + tui_gateway/) labels Apr 22, 2026
@OutThisLife

Copy link
Copy Markdown
Collaborator

Superseded by #17150 (merged) — status bar ticker width stabilization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/tui Terminal UI (ui-tui/ + tui_gateway/) P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TUI status bar width fluctuates when ticker cycles progress names

4 participants