-
Notifications
You must be signed in to change notification settings - Fork 454
Closed
Description
Problem
When using terminal splits (e.g. tmux panes, VS Code split terminal, iTerm2 split), the HUD output gets truncated by the terminal. Lines like MCP servers, Bash/Edit/Glob tool counts, and todo progress are pushed off-screen and replaced by system prompts.
Only the first 1-2 lines (model info + context bar) remain visible. The rest of the HUD content is effectively hidden.
Environment
- macOS + iTerm2 / VS Code integrated terminal
- Terminal width: ~80 cols (split pane)
- claude-hud v0.0.9
Expected Behavior
HUD should adapt to narrow terminals by either:
- Condensing information into fewer lines
- Prioritizing the most important lines (e.g. usage, context) when space is limited
- Collapsing less critical sections (tools, todos, agents) at narrow widths
Current Behavior
All lines are rendered at full width regardless of available terminal space. In narrow splits, the lower lines are pushed below the visible area and get overwritten by Claude Code's own output.
Possible Approaches
- Responsive line collapsing — detect terminal width and hide low-priority lines when below a threshold
- Compact mode — a config option for a minimal single-line or two-line layout
- Priority-based rendering — always show usage + context, conditionally show tools/todos/agents based on available rows
Happy to help implement if there's a preferred direction.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels