claude-code - 💡(How to fix) Fix Add more statusline segments: token count, elapsed time, git status, memory indicator [1 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
anthropics/claude-code#53198Fetched 2026-04-26 05:21:50
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Timeline (top)
labeled ×2commented ×1

Code Example

hack | (Dashboard-UI-updates) | Opus 4.6 (1M context) | auditify-copilot | [#---] 9% | $0.10 | :5173| dev|build|lint
npm run dev (running)
RAW_BUFFERClick to expand / collapse

Feature Request: Enhanced Statusline Information

The current statusline is great and shows useful info (worktree, branch, model, project, context %, cost, background tasks). However, a few additional segments would make it significantly more useful for power users.

Requested additions

  1. Token count (input/output) — Show raw token numbers alongside or instead of the context % bar. E.g. 12.3k in / 8.1k out. The current [#----] 9% bar is helpful but imprecise — raw numbers help with cost estimation and knowing exactly how much context is left.

  2. Elapsed time — Session duration displayed as e.g. 14m 32s. Useful for tracking how long a session has been active, especially during long debugging or implementation sessions.

  3. Pending tool calls indicator — A visual indicator when Claude is waiting on user approval for a tool call. Currently it's not obvious at a glance whether the session is thinking vs. waiting for permission.

  4. Git dirty/clean indicator — A simple (dirty) or (clean) next to the branch name. Saves running git status manually to check if there are uncommitted changes.

  5. Memory indicator — Show whether auto-memory is active and/or how many memories exist. E.g. mem: 3 or a small icon. Helps users know if context from prior sessions is being loaded.

Current statusline for reference

hack | (Dashboard-UI-updates) | Opus 4.6 (1M context) | auditify-copilot | [#---] 9% | $0.10 | :5173 ✓ | dev|build|lint
npm run dev (running)

Why

These additions would reduce the need to run manual commands (git status, mental math on tokens) and give users a more complete at-a-glance view of their session state.

🤖 Generated with Claude Code

extent analysis

TL;DR

Enhance the statusline by adding token count, elapsed time, pending tool calls indicator, Git dirty/clean indicator, and memory indicator to provide a more comprehensive view of the session state.

Guidance

  • Review the current statusline format and identify areas where the requested additions can be integrated without disrupting the existing layout.
  • Consider using a consistent formatting style for the new indicators, such as using icons or abbreviations, to maintain a clean and readable statusline.
  • Evaluate the technical feasibility of displaying the requested information, such as token count and elapsed time, and determine the necessary updates to the underlying code.
  • Assess the potential impact of adding these new indicators on the overall performance and usability of the application.

Example

No code snippet is provided as the issue is a feature request and does not include specific implementation details.

Notes

The implementation of these additions may require significant updates to the application's codebase and may have performance implications. It is essential to carefully evaluate the trade-offs and ensure that the new features align with the application's overall design and user experience goals.

Recommendation

Apply a workaround by manually running commands (git status, etc.) to gather the required information until the feature is implemented, as there is no clear indication of a fixed version or alternative solution.

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

claude-code - 💡(How to fix) Fix Add more statusline segments: token count, elapsed time, git status, memory indicator [1 comments, 2 participants]