claude-code - 💡(How to fix) Fix [FEATURE] Richer TUI — sidebar with context/token usage, cleaner message layout [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
anthropics/claude-code#52518Fetched 2026-04-24 06:05:04
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Participants
Timeline (top)
labeled ×2

The current Claude Code terminal UI is functional but minimal. Tools like OpenCode demonstrate what a richer TUI can look like — and many Claude Code users are considering switching purely for the interface, even though that means paying extra API costs on top of a Pro subscription.

Root Cause

The current Claude Code terminal UI is functional but minimal. Tools like OpenCode demonstrate what a richer TUI can look like — and many Claude Code users are considering switching purely for the interface, even though that means paying extra API costs on top of a Pro subscription.

RAW_BUFFERClick to expand / collapse

Summary

The current Claude Code terminal UI is functional but minimal. Tools like OpenCode demonstrate what a richer TUI can look like — and many Claude Code users are considering switching purely for the interface, even though that means paying extra API costs on top of a Pro subscription.

What OpenCode does that Claude Code doesn't

  • Sidebar panel showing: session timestamp, token count, % context used, cost spent, LSP status
  • Clean message bubbles with clear visual separation between user and assistant turns
  • Distinct color coding for errors, tool output, and responses
  • Static layout — the UI doesn't reflow/flicker as responses stream in

Request

Adopt similar layout improvements natively in Claude Code's TUI so Pro/Max subscribers get a polished experience without needing a separate tool that requires additional API credits.

Specific asks:

  1. Live token count and context % used visible during the session
  2. Cost tracking display ($ spent this session)
  3. Cleaner visual separation between user/assistant messages
  4. Stable, non-flickering layout during streaming responses
  5. Auto-scroll control — ability to scroll up and read earlier parts of a long response without being pulled back to the bottom; pause-on-scroll-up with a manual resume (e.g. Ctrl+End)

Why it matters

Claude Code is the only tool that works with Claude Pro/Max subscriptions. Users who want a better interface are forced to either accept the current minimal UI or pay extra for API access on top of their subscription. Closing this gap would reduce churn and improve daily usability for power users.

extent analysis

TL;DR

Implementing a richer terminal UI with features like a sidebar panel, clean message bubbles, and auto-scroll control can enhance the user experience for Claude Code Pro/Max subscribers.

Guidance

  • Consider adding a sidebar panel to display essential information such as session timestamp, token count, and cost spent to provide users with real-time feedback.
  • Improve visual separation between user and assistant messages using distinct color coding and clean message bubbles to enhance readability.
  • Implement a stable, non-flickering layout during streaming responses to reduce visual noise and improve overall usability.
  • Introduce auto-scroll control with pause-on-scroll-up functionality to allow users to read earlier parts of long responses without interruption.

Example

No specific code example can be provided without more context, but a potential approach could involve using a library like rich or blessings to create a more visually appealing and interactive terminal UI.

Notes

The implementation details may vary depending on the specific technology stack and requirements of the Claude Code project. It's essential to consider the technical feasibility and potential trade-offs of each suggested feature.

Recommendation

Apply a workaround by implementing the suggested UI improvements to enhance the user experience and reduce churn among Pro/Max subscribers. This approach can help bridge the gap between the current minimal UI and the desired polished experience without requiring significant changes to the underlying architecture.

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