[BUG] /context command doesn't load and causes screen flickers

Resolved 💬 17 comments Opened Jan 16, 2026 by deeepanshu Closed Apr 18, 2026
💡 Likely answer: A maintainer (ashwin-ant, collaborator) responded on this thread — see the highlighted reply below.

Preflight Checklist

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

What's Wrong?

Using Claude code 2.1.9, after update,

  • running /context command doesnt show the context as quickly as previous versions.
  • when context actually loads, scrolling through context abruptly hides the context screen, so you are back to chat.
  • there is weird ui flickering or bouncing that happens.

What Should Happen?

When running the /context command. I ran on wezterm.

Error Messages/Logs

Steps to Reproduce

  1. Launch claude code.
  2. run /context command.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.2

Claude Code Version

2.1.9

Platform

AWS Bedrock

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

17 Comments

github-actions[bot] · 6 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/18299
  2. https://github.com/anthropics/claude-code/issues/18091
  3. https://github.com/anthropics/claude-code/issues/15966

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

PaulRBerg · 6 months ago

Also experiencing this. Video of what's happening in v2.1.9:

https://github.com/user-attachments/assets/e176c2f1-2cd5-4c84-ad76-ad253a7985c3

aimran-adroll · 6 months ago

@PaulRBerg Do you happen to have a custom statusline? I am debugging exactly the same thing since the last update. When I disable my statusline, the output is slightly better.

~Another thing I noticed that the output (of /context) disappears after about 10 seconds. I dont recall this being the case before~

PaulRBerg · 6 months ago

@aimran-adroll I do have a custom statusline, yes.

I am using https://github.com/sirmalloc/ccstatusline

freeformz · 6 months ago

This happens w/o a statusline too. I removed mine to test.

festoinc · 6 months ago

same issue

spencersmb · 5 months ago

same issue

mlk1278 · 5 months ago

Same issue. Unusable command. extremely disappointing. Gets worse on tmux.

seanGSISG · 5 months ago
Also experiencing this. Video of what's happening in v2.1.9:

Is that Warp Terminal?

deeepanshu · 5 months ago

Still happening in 2.1.12

PaulRBerg · 5 months ago

@seanGSISG yes, it's Warp

freeformz · 5 months ago

FWIW: Mine terminal is ghost.

PaulRBerg · 5 months ago

Fixed in v2.1.14

!Image

deeepanshu · 5 months ago

in 2.1.19 these issues are gone, but when running /context, the context data gets printed twice.

Ashesh3 · 5 months ago

Same issue on my side: running /context prints the output twice.

❯ /context
  ⎿   Context Usage
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁   claude-opus-4.5 · 0k/200k tokens (0%)
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁   Estimated usage by category
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁   ⛁ System prompt: 2.4k tokens (1.2%)
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛶ ⛶ ⛶ ⛶ ⛶   ⛁ System tools: 15.5k tokens (7.7%)
     ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶   ⛁ Messages: 72.3k tokens (36.2%)
     ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶   ⛶ Free space: 65k (32.4%)
     ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛝ ⛝ ⛝   ⛝ Autocompact buffer: 45.0k tokens (22.5%)
     ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝
     ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝

     ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁   claude-opus-4.5 · 0k/200k tokens (0%)
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁   Estimated usage by category
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁   ⛁ System prompt: 2.4k tokens (1.2%)
     ⛁ ⛁ ⛁ ⛁ ⛁ ⛶ ⛶ ⛶ ⛶ ⛶   ⛁ System tools: 15.5k tokens (7.7%)
     ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶   ⛁ Messages: 72.3k tokens (36.2%)
     ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶   ⛶ Free space: 65k (32.4%)
     ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛝ ⛝ ⛝   ⛝ Autocompact buffer: 45.0k tokens (22.5%)
     ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝
     ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝

Also, why does it show overall context usage as 0% when the breakdown clearly shows tokens being used (System prompt, tools, messages, etc.)?

If tokens are already being consumed by my messages, the total usage shouldn’t still be 0%, so what exactly is that number measuring?

ashwin-ant collaborator · 2 months ago

This was fixed in v2.1.14 — The /context overlay now opens as a proper modal that doesn't auto-close or flicker while background processing is running. If you're still seeing this in the latest version, please comment with your version and repro and we'll reopen.

github-actions[bot] · 2 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.