Statusline usage indicators: replace bars with percentages, fix Current Session bar fill, add countdown reset label

Resolved 💬 3 comments Opened May 20, 2026 by lysey Closed May 24, 2026

The bottom-of-terminal usage indicators (\CT ████ | 5h ████ | 7D █..\) have
three issues that compound:

1. Bars overflow on normal-width terminals. The 7D bar gets truncated to
\...\ because three filled bars take too much horizontal space. Users with
narrow panes lose the third indicator entirely.

2. Current Session bar visually oversells the percentage. On
\claude.ai/settings/usage\, "All Models" at 50% renders exactly half-full
and "Sonnet only" at 4% renders a tiny sliver — both visually accurate. But
"Current Session" at 35% renders to roughly 50-60% fill, side-by-side with
the other (correct) bars on the same page. The terminal \5h\ bar shows the
same inflation. Appears to be a specific rendering issue on the Current
Session bar (different cap style / padding / scale), not a global bar bug.

3. Count-up bar with countdown label is contradictory. Bars fill towards
100% (count up = used), while reset-text is countdown (\"Resets in 1h 43m\").
Two opposite directions for the same session creates mental load when
judging remaining capacity at a glance.

Proposed compact format:

\\\
CT 35% | 5h 75% RS 43m | 7d 4% RS 6d
\
\\

  • Usage as \%\ instead of bar — compact, no overflow, no rendering

ambiguity

  • Reset-time label \RS 43m\ (minutes inside hour) or \RS 6d\ (days for

week-window) in green next to the percentage

  • Lowercase duration units consistently: \7d\ not \7D\, matching \5h\

Color suggestion: percentage in red >80%, amber 60-80%, neutral below. Reset
label always green (informational, time-until-recovery).

Why this matters: every Claude Code user sees this every interaction.
Current display takes mental parsing (bar visual + reset text + interpreting
direction). \35% RS 43m\ is a single glance.
EOF

View original on GitHub ↗

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