Status line shows 102% after /clear command

Resolved 💬 3 comments Opened Jan 4, 2026 by bbarkhurst77 Closed Jan 7, 2026

Description

The status line at the bottom of the terminal displays 102% context usage after running the /clear command, even though the actual context has been cleared.

Steps to Reproduce

  1. Use Claude Code until context is near or above 100%
  2. Run /clear to clear the context
  3. Observe the status line still shows 102% (or the pre-clear percentage)

Expected Behavior

The status line should refresh to show the actual context usage after clearing (should be a low percentage like 35% or less).

Actual Behavior

Status line remains stuck at 102% even after:

  • Running /clear
  • Running /context (which correctly shows ~35%)
  • Pressing Enter on empty prompt
  • Running other commands

Environment

  • Platform: Linux (Raspberry Pi 5)
  • OS Version: Linux 6.12.47+rpt-rpi-2712

Notes

The /context command shows the correct token count, so the issue appears to be a UI refresh bug specific to the status line display.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗