Skip to content

v5.6.1

Latest

Choose a tag to compare

@benabraham benabraham released this 20 Sep 20:16

What's Changed

Fixed

  • Status line no longer blank at session start. Claude Code sends
    context_window.used_percentage as null until the session has an
    assistant message, and the script treated that as "no data at all" —
    printing nothing until the first request/response.

    • The context segments (progress_bar, percentage, tokens) are now
      skipped while the percentage is unknown; the model badge, directory,
      worktree, git and usage gauges render from the first frame.
    • No fabricated 0 % is shown — the system prompt and tool definitions
      already occupy context and cannot be measured before the API answers,
      which is why Claude Code reports null rather than zero.
    • The 5-hour and weekly gauges may still be empty for the first render
      or two while Claude Code's background quota probe resolves, then fill in.
  • Stray leading blank line when a new_line segment came before anything
    that rendered. Deliberate blank separators (two consecutive new_line
    segments) are unaffected.

No configuration changes — existing SL_SEGMENTS values and custom theme
files work unchanged.

Full Changelog: v5.6.0...v5.6.1