claude-code - 💡(How to fix) Fix [BUG] /usage missing 'Current Session' and 'Current Week' sections entirely [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#48403Fetched 2026-04-16 07:01:09
View on GitHub
Comments
0
Participants
1
Timeline
6
Reactions
0
Participants
Timeline (top)
labeled ×5cross-referenced ×1
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

The /usage dialog is missing the Current Session and Current Week sections entirely. Only the daily usage bar is visible. The dialog dismisses normally but these sections never render.

This is related to but distinct from #48135, which reports the weekly bar missing while the reset time text still shows. In this case, both entire sections are absent.

What Should Happen?

The /usage dialog should display three sections:

  1. Current daily usage bar with percentage
  2. Current session stats
  3. Current week usage bar with percentage and reset time

Steps to Reproduce

  1. Open Claude Code CLI
  2. Run /usage
  3. Observe that only the daily usage section is visible
  4. The "Current Session" and "Current Week" sections are completely missing

Claude Model

Opus

Is this a regression?

I don't know

Claude Code Version

2.1.109 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other (Ghostty)

Additional Information

Related issue: #48135 (weekly bar missing, but reset time text still renders — this issue is more severe as entire sections are absent).

extent analysis

TL;DR

The missing "Current Session" and "Current Week" sections in the /usage dialog may be due to a rendering issue or data not being fetched correctly, and verifying the data source and rendering logic could help identify the cause.

Guidance

  • Check the data source for the "Current Session" and "Current Week" sections to ensure it is being fetched and returned correctly.
  • Verify the rendering logic for these sections to see if there are any conditional statements or errors that might be preventing them from being displayed.
  • Compare the code changes between the current version (2.1.109) and previous versions to see if any recent changes might have introduced this issue.
  • Review the related issue #48135 to see if there are any similarities or clues that could help resolve this issue.

Example

No code snippet can be provided without more information about the codebase, but checking the rendering logic might involve looking for something like:

if data['current_session']:
    # render current session section
if data['current_week']:
    # render current week section

Notes

Without more information about the codebase or the data source, it's difficult to provide a more specific solution. The issue might be related to the Anthropic API or the Ghostty terminal/shell.

Recommendation

Apply workaround: Try to verify the data source and rendering logic to identify the cause of the issue, as upgrading to a fixed version is not currently an option since the user is already on the latest version (2.1.109).

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